Stepanakert (; known as Xankəndi in Azerbaijani, and translated as Khankendi) is the capital city of the Nagorno-Karabakh Republic, a de facto independent republic. The city has about 40,000 Armenians. The entire Azerbaijani population left the city during the Nagorno-Karabakh War. It is internationally recognised as part of Azerbaijan.