James II and VII (14 October 1633 O.S. – 16 September 1701) was King of England and Ireland as James II and King of Scotland as James VII from February 1685 until he was deposed in the 1688 Glorious Revolution. The last Catholic monarch of England, Scotland, and Ireland, his reign is remembered primarily for conflicts over religion. However, it also involved struggles over the principles of absolutism and divine right of kings, with his deposition ending a century of political and civil strife by confirming the primacy of the English Parliament over the Crown.
James was the second surviving son of Charles I of England and Henrietta Maria of France, and was created Duke of York at birth. At the age of 51, he succeeded to the throne with widespread support on the death of his elder brother, Charles II. The general public was reluctant to undermine the principle of hereditary succession after the trauma of the brief republican Commonwealth of England 25 years before, and believed that a Catholic monarchy was purely temporary. However, tolerance of James's personal views did not extend to Catholicism in general, and both the English and Scottish parliaments refused to pass measures viewed as undermining the primacy of the Protestant religion. His attempts to impose them by absolutist decrees as a matter of his perceived divine right met with opposition.