Electric confinement and magnetic superconductors