 Rapperswil was ruled by its own counts until its destruction in 1350, after which it fell under Habsburg rule, until it became a protectorate of the Swiss Confederacy in 1464.In 1798, "Gaster" became a district of the canton of Linth in the Helvetic Republic, and was inherited by the canton of St. Gallen in 1803.The historical county of Uznach was separated from "Gaster" in 1831 to form the "See" district, until the reunification of the two districts in 2001.