Alfonso VI (c.?1040/1041 – 1 July 1109), nicknamed the Brave (El Bravo) or the Valiant, was king of León (1065–1072) and of Galicia (1071–1109), and then king of the reunited Castile and León (1072–1109).
After the conquest of Toledo in 1085, Alfonso proclaimed himself victoriosissimo rege in Toleto, et in Hispania et Galleciacode: lat promoted to code: la (most victorious king of Toledo, and of Hispania and Galicia) The Battle of Sagrajas (1086) and the Battle of Uclés (1108), in which his only son and heir, Sancho Alfónsez died, constituted defeats for the Leonese and Castilian armies.