In 1683, Anne married Prince George of Denmark (another Protestant state) in 1683, and the couple had 17 children, most of whom were still-born. None survived long enough to ascend to the throne, the longest-lived being William Henry, Duke of Gloucester, who died in 1700 at the age of eleven. When Anne's father, James II, took as his second wife the Catholic Mary of Modena, concern grew that they would produce a son and that James would attempt to restore Roman Catholicism as the prevalent faith within Britain. James was deposed in 1688, in favour of his elder daughter, Mary (who became Mary II of England), and her husband, William of Orange. However, they were childless, and the succession passed to Anne in 1702. Unfortunately, her surviving son, William, had died two years earlier, and she failed to produce another heir.
Anne's reign is best remembered for two things: a distinctive style of architecture; and the influence of the Churchills. John Churchill, an outstanding military commander, was created Duke of Marlborough following his victory at the Battle of Blenheim in 1704. He owed his favour with the queen partly to her long-standing friendship with his wife, Sarah. When, in about 1711, the two women fell out, the Duke and Duchess both lost preferment. It was also during Anne's reign, in 1707, that the Scottish Parliament ceased to exist as a separate entity.
Queen Anne died in 1714 and is buried in Westminster Abbey. The Act of Settlement, which was passed in 1701, saw the succession of the throne pass to the Electress Sophia of Hanover. However, she died a few weeks before Anne. Sophia's eldest son succeeded to the throne as King George I of Great Britain.