Alfonso VIII of Castile
In 1221, he was married to Eleanor, daughter of Alfonso VIII of Castile. The next six years of his reign were full of rebellions on the part of the nobles. By the Peace of Alcalá of 31 March 1227, the nobles and the king came to terms.