Up to the 20th century Nidwalden was dominated by agriculture .
Up to the 1900s , Nidwalden was taken over by agriculture .