 The Burgundy Wars prompted a further enlargement of the confederacy; Fribourg and Solothurn were accepted in 1481.In the Swabian War against Holy Roman Emperor Maximilian I, the Swiss were victorious and exempted from imperial legislation.The associated cities of Basel and Schaffhausen joined the confederacy as a result of that conflict, and Appenzell followed suit in 1513 as the thirteenth member.