He was deposed in the Glorious Revolution (1688–89) and replaced by William III and Mary II. That revolution, engendered by James's Roman Catholicism, permanently established Parliament as the ruling power of England. James II was the second surviving son of Charles I and Henrietta Maria.