They also used to run current through the hulls of ships during WWII to cancel the magnetism This was done to foil the triggers on mines.