The emerging currents of secular humanist thought that had inspired Bentham also informed the French Revolution, and when the newly formed National Constituent Assembly began drafting the policies and laws of the new republic in 1792, groups of militant "sodomite-citizens" in Paris petitioned the Assemblée nationale, the governing body of the French Revolution, for freedom and recognition. In 1791, France became the first nation to decriminalize homosexuality, probably thanks in part to Jean Jacques Régis de Cambacérès, who was one of the authors of the Napoleonic Code. With the introduction of the Napoleonic Code in 1808, the Duchy of Warsaw also decriminalized homosexuality.