Upon Henry II's death in 1379, his son John came to power as John I of Castile.
During his time as regent, Ferdinand was chosen as the ruler of Aragon, due to his maternal relation to the Aragonese throne through the Compromise of Caspe in 1412 [REF].