 Following the Act of Mediation in 1803, the Canton of Baden was dismantled and the municipality of Dietikon was split.The mountain settlements in the west became the "Berggemeinde Dietikon" (Mountain municipality of Dietikon) until 1840 when it was renamed Bergdietikon.While Dietikon went to the Canton of Zurich, Bergdietikon went to Aargau.