The County of Baden was a shared condominium of the entire Old Swiss Confederacy. After the Confederacy conquest in 1415, they 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, Zürich and Bern each appointed the governor for 7 out of 16 years while Glarus appointed him for the remaining two years.