The first electromagnets were produced from scrap