In the end England underwent the  Glorious Revolution  of 1688, when Catholic James II (Scotland's James VII) was deposed and the Protestant William of Orange (1689 1702) took the British crown.
William of Orange became the ruler of Britain in 1698 after James II.