Ferdinand II of León (1137–January 22, 1188) ruled León and Galicia from 1157 until his death. The son of Alfonso VII of León and Castile and Berenguela of Barcelona, he was raised in Toledo and educated under the Galician magnate Fernando Pérez de Traba. His father associated him with the throne from 1151, and a 1155 agreement assigned León and Galicia to his future rule.
Ferdinand inherited the kingdoms after Alfonso VII’s death and soon faced conflict with both local nobles and his brother, Sancho III of Castile. The brothers agreed in the 1158 Treaty of Sahagún to cooperate against Muslim powers and settle territorial questions, but Sancho’s death that year left his young son Alfonso VIII as king of Castile. Ferdinand intervened in the Castilian regency struggle and fought the Lara family, while also contending with Afonso I of Portugal. His marriage to Afonso’s daughter Urraca in 1165 briefly served as an effort at reconciliation, but disputes between León and Portugal persisted.
Ferdinand expanded his influence through campaigns and settlements across the frontier. He took Toledo in 1162, though Castile recovered it in 1166, and secured victories against Castilian forces. In 1169, during the struggle over Badajoz, he captured Afonso I of Portugal, who had broken his leg while attempting to escape; the resulting settlement restored several places to León. Ferdinand also established the military-religious Order of Santiago in 1170 to help protect Cáceres and pilgrims traveling to the shrine of St. James.
In 1175, Pope Alexander III annulled Ferdinand’s marriage to Urraca on grounds of close kinship, despite their son Alfonso’s birth in 1171. Ferdinand later married Teresa Fernández de Traba. He died on January 22, 1188.