A First-Order Phase Transition Induced by a Magnetic Field