The Theory of Transition-Metal Ions