The current Lithuania–Poland border has existed since the re-establishment of the independence of Lithuania on 11 March 1990. That border was established in the aftermath of World War II. Until then the identical border was between Poland and Lithuanian SSR of the Soviet Union. A different border existed between the Second Polish Republic and Lithuania in the period of 1918–1939. Following the Polish–Lithuanian border conflict, from 1922 onward it was stable, and had a length of 521 km. During the partitions of Poland era, there were borders between the Congress Poland (Augustów Voivodeship) and Lithuanian lands of the Russian Empire (Kovno Governorate and Vilna Governorate). From the Union of Lublin (1569) to the partitions, there was no Polish-Lithuanian border, as both countries were a part of a single federated entity, the Polish–Lithuanian Commonwealth. In medieval times, the Kingdom of Poland and the Grand Duchy of Lithuania shared yet another border.