When under Nazi Germany administration during the Second World War, being in the area called Galicia since ancient times, it was not considered occupied but a part of the German Reich.
After World War II, the Soviet regime used a catholic temple (Church of St Mary) that existed since the 14th century as a warehouse until 1989.