Mary II was joint Sovereign of England, Scotland, and Ireland with her husband (who was also her first cousin), William III and II, from 1689 until her death. William and Mary, both Protestants, became king and queen regnant, respectively, following the Glorious Revolution, which resulted in the deposition of her Roman Catholic father, James II and VII and recognition of a constitutionalised English Bill of Rights. William became sole ruler upon her death in 1694. Popular histories usually refer to their joint reign as that of "William and Mary".
The royal style of the joint rule of King William III and Queen Mary II was "By the Grace of God, King and Queen of England, Scotland, France and Ireland, Stadholther of the Republic of the Seven United Netherlands, Prince of Orange, Count of Nassau, Defenders of the Faith, etc."