Agstafa (Azerbaijani: Ağstafa) is a town, municipality (assigned in 1941) and the capital of the Aghstafa District of Azerbaijan.
[2] Historical reference books of Agstafa indicate that the city appeared in the second half of the nineteenth century, essentially built as a new town around the construction of the Baku-Tbilisi railway.
The town was known initially as Elisavetinka, for the Russian royal, though the station did take its name from a pre-existing small village of Agstafa,[3] which grew more important from 1914 as the junction stop for a new branch line to Yerevan.
The city sits on one of the Azerbaijani primary rail lines running east–west connecting the capital, Baku, with the rest of the country.
[7] The completed branch will connect the city with Tbilisi in Georgia, and from there trains will continue to Akhalkalaki, and Kars in Turkey.