A method of removing a metal ion from a treating liquid for use in treating a
substrate
comprises the steps of: applying a first voltage via an electrode to the treating
liquid that flows in a supply piping so that deposition can occur; and applying
a second voltage higher than the first voltage to the electrode while distributing
a cleaning liquid to the supply piping, so that ionization can occur.