The Glorious Revolution occurred in 1688-1689 when King James II, a Roman Catholic, was replaced as monarch by his Protestant daughter Mary and her husband William of Orange from the Netherlands. James II faced opposition over his pro-Catholic policies like suspending anti-Catholic laws. When James II had a Catholic son in 1688, Protestants feared a permanent Catholic dynasty so invited William to invade England, which he did successfully as James fled to France. William and Mary then agreed to rule as joint monarchs under the conditions of the new Bill of Rights that established England as a constitutional monarchy.