Magnetic-Field Confinement of a Laser-Produced Plasma