On January 29, 1367, the League of God's House, was founded to resist the rising power of the Bishopric of Chur and the House of Habsburg. Bishop Peter Gelyto reacted by transferring the bishopric to the Habsburgs in exchange for a pension from the ducal house. The instrument of union was signed by envoys of the cathedral chapter, the episcopal Ministerialis, the city ofChur and the districts of Domleschg, Schams, Oberhalbstein, Oberengadin, Unterengadin and Bergell. Other districts joined the league subsequently, including the Poschiavo in 1408 and the Vier Dörfer in 1450. For some time, Unterengadin, Münstertal and the upper Vinschgau were disputed between the Bishopric of Chur and the County of Tyrol. While the first two could shake off the rule of the Habsburgs as count of Tyrol, in 1618, Untercalven was separated from the League as the last part of the Vinschgau. With its capital in Chur, the League was composed of the following districts:
A third league was established on June 8, 1436 by the people of ten bailiwicks in the former county of Toggenburg, as the dynasty of Toggenburg had become extinct. The league was called League of the Ten Jurisdictions, with its capital in Davos, and was composed of:
Belfort: districts of Churwalden and Inner- and Ausserbelfort
Schanfigg: districts of St. Peter and Langwies
Union of the leagues
The three separate Leagues initially worked together informally, such as in 1450, in the :de:Schamserfehde|Schamserfehde, a conflict with the house of Werdenberg-Sargans, during which the League of the Ten Jurisdictions allied with the League of God's House. Joint meetings of the three Leagues are evidenced from 1461; closer links date to 1471, when the two leagues allied with the Grey League, but there is no documentary proof of this date. In 1497 and 1498 the Leagues allied with the Old Swiss Confederacy after the Habsburgs acquired the possessions of the extinct Toggenburg dynasty in 1496, siding with the Confederacy in the Swabian War three years later. The Habsburgs were defeated at Calven Gorge and Dornach, helping the Swiss Confederacy and the allied Leagues to be recognised. After 1499, the Free Statede facto separated from the Holy Roman Empire and developed, during the 16th century into a political entity that was unique in early modern Europe. In the early 17th century, it was the only territory in Europe where all decisions were made by communalism, with the Leagues founded, governed and defended by cooperative decisions. The Musso war of 1520 drove the Three Leagues closer to the Swiss Confederacy. With the Bundesbrief of 23 September 1524 was created a constitution that endured until the Napoleonic dissolution of the Free State. The supreme power in the Free State was a Bundestag, composed of 63 deputies with responsible to constituencies; this Bundestag alternated between Ilanz, Chur and Davos. By today's standards, the Three Leagues would be considered a federation of three states, rather than a single, unified state; the union had few competencies and virtually all affairs of the Free State were settled by referendum. The Ilanz Articles of 1524 and 1526 reduced the power of the Bishop of Chur and strengthened the alliance between the Three Leagues. The first articles, adopted 4 April 1524, required priests to live in the communities they served, to earnestly care for the spiritual needs of their congregation and to live a righteous life. The communities had the right to approve their priests and restricted the bishop from judging secular matters. The second articles were adopted on 25 June 1526. They completely removed the bishop's secular power. The parishes could now chose their own priests and appointments to bishop required approval of the entire Bundestag. Additionally church leaders could no longer appoint secular officers, the monasteries were placed under government oversight and various tithes were abolished or reduced. The articles remained the law of League until the 1798 French invasion. With the articles, the secular League authorities became the highest power in the region. With the invasion of Switzerland by the French Revolutionary Armies, the Three Leagues were absorbed into the Helvetic Republic, as the canton of Raetia. With the Napoleonic Act of Mediation, the Leagues were incorporated into a restored Swiss Confederacy — as the canton of Graubünden — in 1803; the current constitution of the canton dates from 1892. The districts of Chiavenna, Valtellina and Bormio, previously dependencies of the Leagues, were never a part of the canton of Raetia, however, having permanently been detached from the Leagues after Revolutionary France fomented revolt there, leading them to be annexed to the Cisalpine Republic on October 10, 1797. The districts subsequently joined the Austrianclientkingdom of Lombardy-Venetia after the Congress of Vienna and eventually become the Italianprovince of Sondrio. The town of Campione was similarly detached from the Landvogtei of Lugano at the same time, leading to its current position as an Italian enclave within Ticino.