 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.Subsequently, Castilian and Aragonese "Cortes" alleged oath to him as co-monarch with his mother.