In 1429, Alfonso V ordered the Infantes to lead a joint attack on Castile. Now John II's constable, Don Alvaro, agreed to a basically victorious truce, as the Aragonese branch of Trastámaras was removed from Castile. John II's authority continued to decline following this military engagement, and he eventually ceded all power to Don Alvaro, who created an oligarchy of nobles. Don Alvaro lost this power in 1439 to a nobility which was allied with Alfonso V, and in 1443, John II was once again captured by Infante John of Aragon, throwing Castile into near anarchy. This confusion was settled in 1445, when a group of nobles favoring the monarchy, led by Don Alvaro, won a battle at Olmedo. Infante Henry was killed as a result of this battle.