 Upon the revocation of the edict, Frederick William, Elector of Brandenburg issued the Edict of Potsdam, which encouraged Protestants to come to Brandenburg-Prussia.Freedom to worship and civil rights for non-Catholics in France were not restored until the signing of the Edict of Versailles, also known as the Edict of Tolerance, by Louis XVI 102 years later, on 7 November 1787.This edict was enacted by parlement two months later, less than two years before the end of the Ancien Régime and the Declaration of the Rights of Man and Citizen of 1789 would fully eliminate religious discrimination in France.