He was the last Roman Catholic king in the British Isles. Some of his people did not like his religious ideas, leading a group of them to disobey and fight against him. This was called the Glorious Revolution in England and Scotland. King James and his son, James Francis Edward went into exile. The king was replaced by his Protestant daughter, Queen Mary II, and her husband King William III and II. They became rulers in 1689. 