The first step towards the naming of the canton into Graubünden was when the league of the Ten Jurisdictions allied with the League of God's House in 1450. In 1471, the two leagues aligned with the Grey League. This meant that the leagues allied with the Swiss Confederation. The Habsburgs were defeated at Calven Gorge and Dornach, helping the Swiss confederation and the allied leagues of the canton of Grisons to be recognized.