In France, from the 1550s, many attempts to reconcile Catholics and Protestants and to establish tolerance failed because the State was too weak to enforce them. It took the victory of prince Henry IV of France, who had converted into Protestantism, and his accession to the throne, to impose religious tolerance formalized in the Edict of Nantes in 1598. It would remain in force for over 80 years until its revocation in 1685 by Louis XIV of France. Intolerance remained the norm until Louis XVI, who signed the Edict of Versailles (1787), then the constitutional text of 24 December 1789, granting civilian rights to Protestants. The French Revolution then abolished state religion and the Declaration of the Rights of Man and of the Citizen (1789) guarantees freedom of religion, as long as religious activities do not infringe on public order in ways detrimental to society.