 By 1125 he had inherited the formerly Muslim Kingdom of Toledo.On 10 March 1126, after the death of his mother, he was crowned in León and immediately began the recovery of the Kingdom of Castile, which was then under the domination of Alfonso the Battler.By the Peace of Támara of 1127, the Battler recognised Alfonso VII of Castile.