On the death of Rudolf I, in 1291, the three forest districts of Uri, Schwyz and Unterwalden openly campaign against the election of his Habsburg successor, Albert, as German king. To protect themselves against Habsburg attack, they pledge themselves to an Everlasting League of mutual defence (signing it, tradition says, in the Rütli meadow in Uri).