Joanna, known historically as Joanna the Mad (Spanish: Juana la Loca), was Queen of Castile from 1504, and of Aragon from 1516.