To free itself from Habsburg hegemony, Basel joined the Swabian League of Cities in 1385, and many knights of the pro-Habsburg faction, along with duke Leopold himself, were killed in the Battle of Sempach the following year.