 Complete the following phrase:  From late middle ages to 1795, the city was of the Grand Duchy of Lithuania, which later became a part of the PolishLithuanian Commonwealth from 1569. In 1795, it was occupied by the Russian Empire with the Partitions. After World War I, the city was conquered by the Second Polish Republic. In 1939, during the Invasion of Poland by Nazi Germany and the Soviet Union, the city was first captured by the Wehrmacht and soon passed on to the USSR per the 