 The line was extended in 1859 to Pskov and in 1862 to Warsaw, which at that time was a part of Congress Poland and the Russian Empire.A branch from the main line that ran to the Prussian border at Virbalis (now Lithuania) connected Saint Petersburg to other capitals of Europe.The current building was designed by Piotr Salmanovich in a mixture of historical styles.