The Confederates retained much of the Habsburg legal structure, which caused a number of problems. The local nobility had the right to hold the low court in only about one fifth of the territory. There were over 30 different nobles who had the right to hold courts scattered around the surrounding lands. All these overlapping jurisdictions caused numerous conflicts, but gradually the Confederation was able to acquire these rights in the County. The cities of Baden, Bremgarten and Mellingen became the administrative centers and held the high courts. Together with the courts, the three administrative centers had considerable local autonomy, but were ruled by a governor who was appointed by the "Acht Orte" every two years. After the Protestant victory at the Second Battle of Villmergen, the administration of the County changed slightly. Instead of the "Acht Orte" appointing a bailiff together, Zurich and Bern each appointed the governor for 7 out of 16 years while Glarus appointed him for the remaining 2 years.