Huguenot rebellions in the 1620s resulted in the abolition of their political and military privileges. They retained the religious provisions of the Edict of Nantes until the rule of Louis XIV, who gradually increased persecution of Protestantism until he issued the Edict of Fontainebleau (1685). This ended legal recognition of Protestantism in France and the Huguenots were forced to either convert to Catholicism (possibly as Nicodemites) or flee as refugees; they were subject to violent dragonnades. Louis XIV claimed that the French Huguenot population was reduced from about 900,000 or 800,000 adherents to just 1,000 or 1,500. He exaggerated the decline, but the dragonnades were devastating for the French Protestant community.