The inner or mountainous portion of Schwyz were controlled by the Counts of Lenzburg, until that line died out in 1173.
While the farming villages of the valleys drew closer together, the expansion of the Habsburgs and changing relationships between the farmers of the alpine valleys and the monasteries led to conflicts such as the Marchenstreit between Schwyz and Einseideln Abbey.