 At the beginning of the 18th century Ivyanets County was formed, with its administrative center located in the town, and in 1702 a Franciscan monastery was built by Theodore Vankovich.In 1745, Jan Michal Sologub built a stone church in the town.Sologub was the current Podskarby, the chief financial manager of the Polish–Lithuanian Commonwealth and a member of the Senate, and the owner of the town.