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
Jerusalem north of the old walled city. Military skirmishes frequently threatened the ceasefire. After the establishment of the state of Israel, Jerusalem was declared its capital city. Jordan formally annexed East Jerusalem in 1950, subjecting it to Jordanian law, and in 1953 declared it the "second capital" of Jordan. Only the United Kingdom and Pakistan formally recognized such annexation, which, in regard to Jerusalem, was on a "de facto" basis. Some scholars argue that the view that Pakistan recognized Jordan's annexation is dubious. After 1948, since the old walled city in its entirety was to the east of the armistice line,