Around 1500 many people in Nidwalden worked as mercenary soldiers. Many of these soldiers later emigrated. This helped to lessen the pressure of a growing population. A popular destination was the Alsace. After rejecting a new constitution by Napoleon — the ideas of the French Revolution were not popular in such an agricultural area — Nidwalden was attacked by French troops on 9 September 1798. Random destruction was caused and at least 400 people were killed. After the end of Napoleon's rule in 1814 most of the changes were reverted. Only in 1877 did Nidwalden introduce a new constitution. The open assembly ("Landsgemeinde") was abolished in 1997.