Between 1851 and 1862, the railway connecting Saint Petersburg and Warsaw via Pskov was built and crossed Luzhsky Uyezd.