After the First Battle of Olmedo in 1445, the castle came once and for all into hands of the Castilian monarchy. In 1460, King Henry IV of Castile built the central tower. In 1464, Henry gave the castle to the Archbishop of Toledo, Alonso Carrillo, who soon betrayed the king, and backed the rival claimant Afonso V of Portugal. After taking the castle by force, it fell by 1467 into the hands of supporters of King Afonso, while the village supported Henry.