Alfonso VII of Spain is crowned Emperor of Spain at the Cathedral of Leon on May 26, 1135. When he died in 1157, the Kingdom of Leon was inherited by his son Fernando II of León and the Kingdom of Castille was inherited by his oldest son Sancho III de Castilla.
Alfonso VII became the King of Galicia, Leon, and Castile on March 10, 1126. following the death of his mother, Queen Urraca, He began to consolidate power over the territories which had been under the influence of his stepfather, Alfonso I of Aragon. Prior to that, Alphonso VII had been crowned and anointed King of Galicia when he was a six year old child in 1111 at the cathedral of Santiago de Compostela .The ceremony was orchestrated by Diego Gelmírez, the Bishop of Compostela, and the Count of Traba to secure his position against his mother, Queen Urraca, who ruled the united throne of León-Castile-Galicia.