A means of protecting steel piles from corrosion by providing a consumable (sacrificial) anode or by applying an external electrical potential.