1321 persons were recorded in 1864. Railway opened in 1869. This was the site of the Borki train disaster in 1888, which nearly killed Emperor Alexander III of Russia. 2791 residents were living here in 1914.