Ternopil is a city in western Ukraine, located on the banks of the Seret River. Ternopil is one of the major cities of Western Ukraine and the historical region of Galicia. It is served by Ternopil Airport. The city is the administrative center of the Ternopil Oblast (province), as well of the surrounding Ternopil Raion (district) within the oblast. However, Ternopil is a city of oblast subordinance, thus being subject directly to the oblast authorities rather to the raion administration housed in the city itself.
The city was founded in 1540 by Jan Amor Tarnowski as a Polish military stronghold and a castle. In 1544 the Ternopil Castle was constructed and repelled its first Tatar attacks. In 1548 Ternopil was granted city rights by king Sigismund I of Poland. In 1567 the city passed to the Ostrogski family. In 1575 it was plundered by Tatars. In 1623 the city passed to the Zamoyski family.