After the Reign of Terror, the French wrote a new constitution and created a bicameral government headed by