information:extraction, linguistic:paraphrasing
Mary II was Queen of England, Scotland, and Ireland, co-reigning with her husband, King William III and II, from 1689 until her death in 1694. She was also Princess of Orange following her marriage on 4 November 1677. Her joint reign with William over Britain is known as that of William and Mary. Mary was born during the reign of her uncle King Charles II. She was the eldest daughter of James, Duke of York, and his first wife, Anne Hyde. Mary and her sister Anne were raised as Anglicans at the behest of Charles II, although their parents both converted to Roman Catholicism. Charles lacked legitimate children, making Mary second in the line of succession. At the age of 15, she married her cousin William of Orange, a Protestant. Charles died in 1685 and James became king, making Mary heir presumptive. James's attempts at rule by decree and the birth of his son from a second marriage, James Francis Edward, led to his deposition in the Glorious Revolution of 1688 and the adoption of the English Bill of Rights. William and Mary became king and queen regnant. Mary mostly deferred to her husband – a renowned military leader and principal opponent of Louis XIV – when he was in England. She did, however, act alone when William was engaged in military campaigns abroad, proving herself to be a powerful, firm, and effective ruler. Mary's death from smallpox in 1694 at the age of 32 left William as sole ruler until his death in 1702, when he was succeeded by Mary's sister, Anne.