 The towns of Dietenhausen, Dietlingen, Ellmendingen, and Weiler were for most of their history part of Baden.They were assigned to Pforzheim's jurisdiction in 1803 when the state became the Grand Duchy of Baden.When the districts were shuffled in 1809, the four towns were assigned to the second Pforzheim Oberamt, and again remained under Pforzheim when the district was recreated as on 25 June 1938.