Viljandi (Estonian pronunciation: [ˈʋilʲˑjɑnʲˑdi]; German: Fellin) is a town and municipality in southern Estonia with a population of 17,407 in 2019. It is the capital of Viljandi County and is geographically located between two major Estonian cities, Pärnu and Tartu. The town was first mentioned in 1283, upon being granted its town charter by Wilhelm von Endorpe. The town became a member of the Hanseatic League at the beginning of the 14th century, and is one of five Estonian towns and cities in the league. The once influential Estonian newspaper Sakala was founded in Viljandi in 1878.