Dushanbe is located on the southern slopes above the Kofarnihon valley.