In part I of the Constitucions i Altres Drets de Cathalunya, the section headed Genealogia dels Reys d'Aragó i Comtes de Barcelona speaks of the genealogy of John I of Aragon, son of Peter IV, saying that John and Violant had a son named James, "lo qual intitularen Delphi de Girona". On 19 February 1416, Ferdinand I of Aragon, considering the title of duke insufficient, raised it to the rank of Principality of Girona. Three other titles represent the other Kingdoms within the Crown of Aragon: the heir of the Crown of Aragon was Prince of Girona (Aragon), Duke of Montblanc (Catalonia), Count of Cervera (Valencia) and Lord of Balaguer (Mallorca). However, these titles fell into gradual disuse until the 20th century as the heir of the King of Spain became better known by the hereditary title of the Crown of Castile, "Prince of Asturias."
In 1961, when announcing the wedding the future Juan Carlos I of Spain and Sofia of Greece, the Spanish Royal House issued the young prince, as titles of pretense, the style of "Prince of Asturias," "Prince of Girona," and "Prince of Viana" — these three titles referring to his status as heir apparent to the kingdoms of Castile, Aragon and Navarre respectively. He started using the titles of "Prince of Girona" on his passport during the dictatorship of Franco, to avoid the more contentious title Prince of Asturias which was well known to be reserved for the heir of the throne of Spain. His grandfather had adopted a similar tactic, styling himself Juan, Count of Barcelona; using the title of King of Spain would have been seen as directly subersive to the dictatorship of General Franco. However, calling himself Count of Barcelona was a clear attempt at asserting his hereditary rights to then defunct Spanish throne, as there had been no Count of Barcelona who was not either King of Aragon or of Spain since the Middle Ages.
When Juan Carlos was finally given an official capacity in the Spanish state as heir to the kingdom by General Franco, he received the title of "Prince of Spain" and thus began to use this until he became King of Spain. On January 21, 1977 his son, Felipe, would be the first to use all of these titles in any official capacity for over 250 years.