Derbent (Russian: Дербе́нт dyeer-BEHNT) is a 5,000 year old city in Dagestan and a UNESCO World Heritage site. It is the location of the mythical "Gates of Alexander," and easily one of the most impressive historical sites in Russia.
There are two daily communter trains from the regional capital of Makhachkala, one departing 10:00 and another departing 17:20, journey time is around three hours. Long-distance trains heading to and from Baku makes a stop-over here. From Moscow there are departures on Mondays, Thursdays and Saturdays, leaving from Moskva Paveletsky station at 18:05 and arriving two nights later at 18:40. A second class sleeper ticket costs around 3,500 RUB. Other Russian cities with rail connections includes Saint Petersburg (59 h), Rostov-on-Don (25½ h) and Yekaterinburg (64 h). International connections includes Kiev (56 h) and Minsk (65 h).