ポーランド・ロシア戦争
During the Polish–Russian War in the first quarter of the 17th century, the town and the stronghold were completely destroyed. Under the Swedish rule in the 17th century the town bylaws of Viljandi were cancelled.