Agstafa () is a town, municipality (assigned in 1941) and the capital of the Aghstafa District of Azerbaijan. Agstafa district was established in 1939, abolished in 1959 and merged with Gazakh district, became an independent district again in 1990
