information:filtering, stylistic:tone
Alfonso VI, nicknamed the Brave or the Valiant, was king of León (1065–1109), Galicia (1071–1109), and Castile (1072–1109). After the conquest of Toledo in 1085, Alfonso proclaimed himself victoriosissimo rege in Toleto, et in Hispania et Gallecia. This conquest, along with El Cid's taking of Valencia would greatly expand the territory and influence of the Leonese/Castilian realm, but also provoked an Almoravid invasion that Alfonso would spend the remainder of his reign resisting. The Leonese and Castilian armies suffered decisive defeats in the battles of Sagrajas (1086), Consuegra (1097) and Uclés (1108), in the latter of which his only son and heir, Sancho Alfónsez, died, and Valencia was abandoned but Toledo remained part of an expanded realm that he passed to his daughter.