The second half of the 19th century was notable for its advancement in communication. In 1868, the first telegraph line to Tiflis was established, and in 1879, an under-sea telegraph line connected Baku with Krasnovodsk. In the same year, the Baku-Sabunchi-Surakhany was in operation. The tracks were 520 "versts" (555 kilometres) from Tiflis and was completed in a relatively short time on 8 May 1883. The first telephone line was in operation in 1886. In 1899, the first horse tramway appeared.