In 1798 Stans was stormed by French troops, following the decision of Nidwalden not to adopt the constitution of the Helvetic Republic.
In the 20th Century, modern technology and transportation changed Stans.