Cathodic protection is a method of corrosion control that uses an external anode as a current source to impress direct current through the soil onto a metallic structure or pipeline. CP mitigates the flow of corrosion currents that occur when a pipeline is installed in corrosive soil. The pipeline is made more electronegative with respect to the soil, and the pipeline becomes the cathode in the corrosion cell. The current flows along the pipeline to the drain wire to complete the circuit.