Temporary capital of Lithuania during the invasion of Poland, to Lithuania according to the Soviet–Lithuanian Mutual Assistance Treaty. Since then Vilnius has been the capital of the Lithuanian SSR and then independent Lithuania. Lithuania refused to have diplomatic relations between Poland and Lithuania until the ultimatum of 1938. Railroad traffic, telegraph lines or even mail could not cross the Polish–Lithuanian border. Lithuania continued to declare Vilnius as its capital in all official documents, including the constitution. Since the city was controlled by Poland, all Lithuanian authorities were transferred to the city of Kaunas, which became the seat of the government. To reconcile reality with
Capital punishment in Lithuania the criminal code but was retained in the military law (). Article 14 of the military law provided for death penalty for eight crimes, mostly directed against the state, the military, or the officials, but also included armed robbery with murder. The provisional constitution of 1920 even spoke about the abolition of the death penalty. However, Lithuania with brief interruptions remained under the martial law until November 1938 when it was lifted due to German pressure in the months before the ultimatum of March 1939. Historian Sigita Černevičiūtė counted at least 146 executions in interwar Lithuania, though records are incomplete