Queen consort (1685–1688)
Despite all the furore over Exclusionism, James ascended his brother's thrones easily upon the latter's death—which occurred on 6 February 1685 OS—possibly owing to the risk that the said alternative might provoke another civil war. Mary sincerely mourned Charles, recalling in later life, "He was always kind to me." Mary and James's £119,000 coronation, occurring on 23 April OS, Saint George's day, was meticulously planned. Precedents were sought for Mary because a full-length joint coronation had not occurred since the coronation of King Henry VIII and Queen Catherine.
Queen Mary's health had still not recovered after the death of Lady Isabella. So much so, in fact, that the Tuscan envoy reported to Florence that "general opinion turns [for Mary's successor] in the direction of the Princess, Your Highness's daughter". France, too, was preparing for Mary's imminent demise, putting forward as its candidate for James's new wife the Duke of Enghien's daughter. The Queen was then trying to make her brother, the Duke of Modena, marry the former, Anna Maria Luisa de' Medici.
In February 1687, Mary, at the time irritated by James's affair with Catherine Sedley, Countess of Dorchester, moved into new apartments in Whitehall; Whitehall had been home to a Catholic chapel since December 1686. Her apartments were designed by Christopher Wren at the cost of £13,000. Because the palace's renovation was thus far unfinished, James received ambassadors in her rooms, much to Mary's chagrin. Five months later, shortly after the marriage talks with Tuscany collapsed, the Queen's mother, Duchess Laura, died. Therefore, the whole English court went into mourning. Duchess Laura left Mary "a considerable sum of cash" and some jewellery. William III of Orange, James's nephew and son-in-law, sensed popular discontent with James's government; he used the death of Mary's mother as a guise to send his cousin Count Zuylestein, to England, ostensibly to condole the Queen, but in reality as a spy.
Having visited Bath, in the hope its waters would aid conception, Queen Mary became pregnant in late 1687. When the pregnancy became public knowledge shortly before Christmas, Catholics rejoiced. Protestants, who had tolerated James's Catholic government because he had no Catholic heir, were concerned. The Protestant disillusion came to a head after the child was known to be male, and many Protestants believed the child was spurious; if not, James II's Catholic dynasty would have been perpetuated. Popular opinion alleged that the child, named James Francis Edward Stuart, was smuggled into the birth chamber as a substitute for the Queen's real but stillborn child. This rumour was widely accepted as fact by Protestants, despite the many witnesses of the birth. Mainly by mismanagement on James's part, these rumours had some excuse as from personal prejudice he had excluded many from the ceremony whose testimony must have been counted valid; most of the witnesses were Catholics or foreigners, and several, such as his daughter Anne and the Protestant prelates, or the maternal relatives of his daughters, whom the new birth would remove from the direct succession, were not present.
Anne and her elder sister, Mary, still suspected that their father had thrust a changeling upon the nation. Count Zuylestein, returning to the Netherlands shortly after the birth, agreed with Anne's findings.
Issued by seven leading Whig nobles, the invitation for William to invade England signalled the beginning of a revolution that culminated in James's deposition. The invitation assured William that "nineteen parts of twenty of the people throughout the kingdom" wished for an intervention. The revolution, known as the Glorious Revolution, deprived James Francis Edward of his right to the English throne, on the grounds that he was not deemed the King's real son, and later because he was a Catholic. With England in the hands of William of Orange's 15,000-strong army, James and Mary decided to go into exile in France. On 9 December 1688, Mary left London in disguise with the infant Prince of Wales and in the company of Victoria Davia-Montecuculi, under the arrangement of Antoine Nompar de Caumont. After arriving in France through Calais, she was joined by James a few weeks later. There, they stayed at the expense of James's first cousin King Louis XIV, who supported the Jacobite cause.