Original: During the Polish Defensive War it was annexed by the Soviet Union and attached to the Ukrainian Soviet Socialist Republic.
Simplified: Ternopil became part of the Ukrainian Soviet Socialist Republic.