The French Revolution led to the end of the monarchy and establishment of a republic in France. Prior to the revolution, French society was divided into estates with the clergy and nobility making up the first and second estates. The third estate comprised mostly poor peasants and laborers who faced economic hardship and subsistence crisis. Inspired by Enlightenment ideas, the middle class and third estate demanded greater political rights and representation. This led to the storming of the Bastille and abolition of feudalism. A constitutional monarchy was established in 1791 but eventually gave way to a republic after the overthrow of the monarchy in 1792 during the Reign of Terror led by Robespierre.