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