The County of Baden (German: Grafschaft Baden) was a condominium of the Old Swiss Confederacy and is now part of the Swiss Canton of Aargau. The county was established in 1415 after the Swiss conquest of the Aargau and was ruled as a shared condominium until 1798 when it became part of the short lived Canton of Baden. History The land that became the County of Baden was originally ruled by the Counts of Lenzburg. Once that family's main line died out, it came under the Kyburgs and then in 1264 the Habsburgs. The exact territories in the county changed often, but originally included the western part of the Zürichgau and parts of the territory between the Rhine, Aare and Reuss rivers. In the 14th Century the territory of Baden became a triangle between the Limmat and Reuss rivers, though it was later divided further. As part of the Habsburg bailiwick of Aargau, it was managed by a bailiff, who had his seat in the town of Baden. On 16 November 1414, Emperor Sigismund called the Council of Constance to settle the Western Schism between the three popes (Benedict XIII, Gregory XII, and John XXIII), all of whom claimed legitimacy. Frederick IV of Habsburg sided with John XXIII. When John XXIII was declared an antipope, he fled the city with Frederick's help. The emperor then declared the Habsburg lands forfeited and ordered the neighboring countries to conquer those lands for the emperor. The city-state of Bern had already pledged their support of the emperor against the Habsburgs in 1414, and so they were ready to invade. The rest of the Confederation quickly followed. The territory was quickly conquered in 1415 by the Confederation. Under Habsburg rule Aargau was divided into multiple sections (), which were maintained under the Confederation. Bern, Lucerne and Zurich were each given a portion of the conquered region to administer. The Freie Ämter and the Amt of Baden were collectively administered as subject territories by the rest of the Confederation. Under the Confederation, the Amt of Baden became the County of Baden. The county included the former Ämter of Baden and Siggenthal, the Bishop of Constance's vogtei of Klingnau, Zurzach and Kaiserstuhl as well as the parish of Leuggern on the left side of the Aare. Initially ownership of the county was shared between the seven cantons which had participated in the invasion. Starting in 1443