 During the Lithuanian Wars of Independence, the city was briefly taken by the Bolsheviks, and the building housed commissariats and a revolutionary tribunal.Following Żeligowski's Mutiny of 1920, Vilnius and its surroundings were incorporated into Poland, and the building housed the courts of justice for the Wilno Voivodship.Lithuania was invaded by the Soviet Union in 1940, and following an ultimatum, became a Soviet Socialist Republic.