The Ternopil Castle (Ukrainian: Тернопільський замок, Polish: Zamek w Tarnopolu) is a stronghold which gave birth to the city of Ternopil. It was built in the 16th century to protect the southern border of the Kingdom of Poland and the Polish-Lithuanian Commonwealth.