Stepanakert, officially Khankendi, is a city in the Nagorno-Karabakh region of Azerbaijan. It was the capital city of the breakaway Republic of Artsakh prior to the 2023 Azerbaijani offensive in the region. The city is located in a valley on the eastern slopes of the Karabakh mountain range, on the left bank of the Qarqarçay (Karkar) river.
The area that would become Stepanakert was originally an Armenian settlement named Vararakn. During the Soviet period, the city was made the capital of the Nagorno-Karabakh Autonomous Oblast, becoming a hub for economic and industrial activity. In addition, the city became a hotbed for political activity, serving as the center for Armenian demonstrations calling for the unification of Nagorno-Karabakh with Armenia. Stepanakert suffered extensive damage following the dissolution of the Soviet Union and the outbreak of the First Nagorno-Karabakh War and passed into the hands of local Armenians with the establishment of the Republic of Artsakh. During the Soviet and Artsakh periods, the city was a regional center of education and culture, being home to Artsakh University, musical schools, and a palace of culture. The economy was based on the service industry and had varied enterprises, food processing, wine making, and silk weaving being the most important.
In September 2023, Azerbaijani authorities took control of the city, with almost the entire Armenian population forced to flee to Armenia ahead of the advancing Azerbaijani forces. It was an abandoned ghost city for a year; Azerbaijan began settling new permanent residents in the city in September 2024 with the opening of Karabakh University. As of 2024, the city's population was around 8,000.