Joanna I of Naples
His father was killed at the Battle of Llucmajor in 1349 while attempting to recapture his kingdom, and James IV was taken prisoner by his uncle, Peter IV of Aragon. Now pretender to the Kingdom of Majorca and the Principality of Achaea, James was kept in an iron cage in Barcelona until 1362. He then contrived to escape and take refuge with Joanna I of Naples, who had aided his father's last attempt on Majorca.