 Following the deaths of Isabella (1504) and Ferdinand (1516), their daughter Joanna inherited the Spanish kingdoms.However, she was kept prisoner at Tordesillas due to her mental disorder.As Joanna's son, Charles I (the future Holy Roman Emperor Charles V), did not want to be merely a regent, he proclaimed himself king of Castile and Aragon jointly with his mother.