A magnet consisting of a soft ferromagnetic core with a coil of insulated wire wound round it. When a current flows through the wire the core becomes magnetized; when the current ceases to flow the core loses its magnetization. Electromagnets are used in switches, solenoids, electric bells, metal-lifting cranes, and many other applications. Electromagnets were first constructed by William Sturgeon (1783–1850) in 1825.