In 1502, the Castilian "Cortes" of Toro recognised Joanna as heiress to the Castilian throne and Philip as her consort. She was named Princess of Asturias, the title traditionally given to the heir of Castile. Also in 1502, the Aragonese "Cortes" gathered in Zaragoza to swear an oath to Joanna as heiress; however, the Archbishop of Zaragoza expressed firmly that this oath could only establish jurisprudence by way of a formal agreement on the succession between the "Cortes" and the king.