Coordination complexes consist of a central metal ion bonded to surrounding ligand molecules or ions. Alfred Werner established the modern theory of coordination complexes in the late 19th century. According to Werner's theory, the metal ion exhibits both a primary valence based on its oxidation state and a secondary valence equal to its coordination number. Coordination complexes can be named systematically based on the ligands bonded to the metal ion and the metal's identity and oxidation state.