After the death of
Queen María de las Mercedes in June 1878, King Alfonso XII was determined to remarry to produce an heir. The Queen had died childless just a few months after her marriage and negotiations started with the court of Vienna. In August, Alfonso XII traveled to
Arcachon, Gironde, with the specific purpose of meeting Archduchess Maria Christina and her mother Archduchess Elisabeth. In this first meeting, the King proposed to her and she accepted. In early September 1878, the Spanish Government approved the engagement and
Emperor Franz Joseph asked his niece to officially relinquish her title of Abbess of the Theresian Convent of Prague as it was necessary for the future queen to abandon all her Austrian appointments. The proposal was gazetted in the
Wiener Zeitung on 7 September: "His Majesty the King of Spain, during his visit to Arcachon, has requested the hand of the Most Serene Lady Archduchess Maria Christina... with previous consent of His Imperial and Royal Apostolic Majesty, as Chief of the Imperial Family, the Most Serene Lady Archduchess has accepted the said proposal". In compliance with Article 56 of the
Constitution of Spain, the Cortes passed a law granting a 500.000 pesetas annuity for the future queen consort on 2 November. The terms of the marriage were settled in an agreement executed between Austria and Spain in Vienna on 15 November by their respective plenipotentiaries. That same day Maria Christina renounced her succession rights to the Austrian throne before the Emperor and the court according to the tradition imposed to the archduchesses who were to marry a foreign prince. Another marriage agreement was signed in Madrid on 28 November by the King and Maria Christina themselves. The wedding took place on 29 November 1879 at the
Basilica of Atocha in Madrid. The arranged marriage (the second of Alfonso XII after the death of his first wife
María de las Mercedes of Orléans), was concerted on the basis of the conservative profile espoused by the
Austro-Hungarian Empire as well as by the prestige attained by the Habsburgs in their previous involvement in the history of Spain, and blocked the possibility of a prospective Austrian endorsement to the
Carlist cause. After giving birth to two daughters —
María de las Mercedes (born 1880) and
María Teresa (born 1882)— she ensured dynastic continuity, yet, with the threatening landmark for the ruling dynasty set by the previous Carlist Wars, she was still pressured to undergo a new pregnancy and give birth to a male child in order to consolidate the political system, as it was considered at the time. She became pregnant again before the death of her husband in November 1885 (the king suffered from
tuberculosis yet he led an active life). While possibly apocryphal, it is representative of the
Restoration era. Months later, in May 1886, she would give birth to a male child, Alfonso, who reigned as
Alfonso XIII upon his birth. ==Regency==