sentences:  In 1396, the counts of Werdenberg-Sargans pawned Sargans to the Habsburg dukes of Austria, who passed the territory to Friedrich VII, count of Toggenburg.After the death of the last Toggenburgers the counts of Werdenberg-Sargans redeemed the pledge, to rule over the county anew, with Walenstadt and Quarten remaining as "Vogtei" (protectorates) of the Habsburgs.The inhabitants of the country refused, however, to recognise the counts of Werdenberg-Sargans as their lords and, in 1436, made a treaty with the city of Zürich.