The oldest church in Viljandi is the St. John's Church, which was built near the castle in the years 1466-1472. A triangular home church, made of limestones and brick, was first prepared for the Franciscan monastery.
https://www.puhkuseestis.ee/vaatamisvaarsused?sightseeing_id=388