List of Spanish monarchs

This is a list of monarchs of Spain, a dominion started with the dynastic union of the Catholic Monarchs of Spain— Ferdinand II of Aragon and Isabella I of Castile.
The regnal numbers follow those of the rulers of Asturias, León, and Castile. Thus, Alfonso XII is numbered in succession to Alfonso XI of Castile.
The following seven lineages were eventually united by the marriage of Ferdinand and Isabella.
Although Aragon and Castile continued to be separate, they were ruled together until the Nueva Planta decrees.
Under Isabella I of Castile and Ferdinand II of Aragon, their royal dynasties were united into a single line. Historiography of Spain generally treats this as the formation of the Kingdom of Spain, but officially speaking, the two kingdoms continued with their own separate institutions for more than two centuries. It was not until the Nueva Planta decrees of 1707–1716 that the two lands were formally merged into a single state.
Following the deaths of Isabella (1504) and Ferdinand (1516), their daughter Joanna inherited the Spanish kingdoms. However, she was kept prisoner at Tordesillas due to an alleged 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 recognized him as co-monarch along with his mother. Upon her death, he became sole King of Castile and Aragon, and the thrones were left permanently united to Philip II of Spain and successors. Traditional numbering of monarchs follows the Castillian crown; i.e. after King Ferdinand (II of Aragon and V of Castile jure uxoris as husband of Queen of Castille Isabella I), the next Ferdinand was numbered VI. Likewise, Alfonso XII takes his number following that of Alfonso XI of Castile rather than that of Alfonso V of Aragon, the prior Spanish monarch with that name.
In the year 1700, Charles II died. His will named the 16-year-old Philip, Duke of Anjou, the grandson of Charles's sister Maria Theresa of Spain, as his successor to the whole Spanish Empire. Upon any possible refusal of the undivided Spanish possessions, the Crown of Spain would be offered next to Philip's younger brother Charles, Duke of Berry, or, next, to Archduke Charles of Austria.
Both claimants, both Charles of Austria and Philip, had a legal right to the Spanish throne because Philip's grandfather, King Louis XIV of France and Charles's father, Leopold I, Holy Roman Emperor, were sons of Charles II's aunts, Anne and Maria Anna. Philip claimed primogeniture because Anne was older than Maria Anna. However, Philip IV had stipulated in his will the succession should pass to the Austrian Habsburg line, and the Austrian branch also claimed that Maria Theresa, Philip's grandmother, had renounced the Spanish throne for herself and her descendants as part of her marriage contract. This was countered by the French claim that it was on the basis of a dowry that had never been paid.
After a long council meeting where the Dauphin spoke up in favour of his son's rights, it was agreed that Philip would ascend the throne. Following this, the War of the Spanish Succession broke out and Archduke Charles was also proclaimed king of Spain, as Charles III, in opposition to Philip V. He was proclaimed in Vienna, and also in Madrid in the years 1706 and 1710. Charles renounced his claims to the Spanish throne in the Treaty of Rastatt of 1714, but was allowed the continued use of the styles of a Spanish monarch for his lifetime. Philip ascended the Spanish throne but had to renounce his claim to the throne of France for himself and his descendants.
The only monarch from this dynasty was Joseph I, imposed by his brother Napoleon I of France after Charles IV and Ferdinand VII had abdicated. The title used by Joseph I was King of the Spains and the Indias, by the Grace of God and the Constitution of the State. He was also later given all of the titles of the previous kings. A government in opposition to the French was formed in Cádiz on 25 September 1808, which continued to recognize the imprisoned Ferdinand VII as king. This government was diplomatically recognized as the legitimate Spanish government by Britain and other countries at war with France.
Charles IV's eldest son was restored to the throne. Again, the title used was king of Castile, Leon, Aragon,… by the Grace of God.
After the Spanish Revolution of 1868 deposed Isabella II, while a new monarch was sought, a provisional government and a regency headed by Francisco Serrano y Domínguez from 8 October 1868 until 2 January 1871 was established. Amadeo was elected as king and the new title used was King of Spain, by the Grace of God and will of the nation.
Isabella II's eldest son was restored to the throne as she had abdicated in his favour in 1870. Unlike previous Spanish rulers, the restored Bourbons led as constitutional monarchs.
On 1 October 1936, General Francisco Franco was proclaimed "Leader of Spain" (Spanish: Caudillo de España) in the parts of Spain controlled by the Nationalists (nacionales) after the Spanish Civil War broke out. At the end of the war, on 1 April 1939, Franco took control of the whole of Spain, ending the Second Republic. The 36-year period that followed would be officially called the Estado Español, or the Spanish State. Although Franco proclaimed the restoration of the monarchy in 1947, he did not allow the pretender, Juan, Count of Barcelona, to take the throne. Instead, 22 years later, in 1969, he declared as his successor Juan Carlos, Prince of Spain and son of the Count of Barcelona. This succession took place upon Franco's death in 1975, when Juan Carlos became King of Spain. A three-year transition to democracy followed during which the apparatus of the Franco government was gently dismantled and preparations for a new system, from 1978, were laid.
Alfonso XIII's claim descended (due to his two eldest sons' renunciations) to his third son, Juan of Bourbon, Count of Barcelona, who was passed over in favour of his eldest son, whose title is King of Spain. The Count of Barcelona formally renounced his claims in favour of his son in 1977, two years after Franco's death and Juan Carlos's accession.
Juan Carlos abdicated in favor of his son Felipe VI, who became king on 19 June 2014, with Felipe's older daughter, Leonor, next in succession.