Absolutism in France was based on the idea of divine right monarchy, where kings received their power directly from God. Louis XIV ruled as an absolute monarch, centralizing authority and weakening the nobility. He built the grand Palace of Versailles to overawe visitors and keep the nobility occupied and competing for royal favor. Louis revoked the Edict of Nantes, expelling Protestants from France to strengthen Catholicism as the sole religion.