In 1440-46, Schwyz and six other cantons fought against Zürich and the Habsburgs in the Old Zürich War. The eventual peace brought Zürich back into the Confederation and forced them to cancel their treaty with the Austrians. After the war, Schwyz acquired the villages of Wollerau and Pfäffikon (now in Freienbach) and shared control of Uznach and Gaster (both now in St. Gallen) with Glarus. The war also showed that the confederation had grown into a political alliance so close that it no longer tolerated separatist tendencies of a single member.