The city later became the capital of the Samarkand Oblast of Russian Turkestan and grew in importance still further when the Trans-Caspian railway reached the city in 1888. It became the capital of the Uzbek SSR in 1925 before being replaced by Tashkent in 1930.