The Azerbaijan Democratic Republic (Azerbaijani: Azərbaycan Demokratik Cümhuriyyəti), also known as the Azerbaijan People's Republic (Azerbaijani: Azərbaycan Xalq Cümhuriyyəti; آذربایجان خلق جمهوریتی), was the first secular democratic republic in the Turkic and Muslim worlds. The ADR was founded by the Azerbaijani National Council in Tiflis on 28 May 1918 after the collapse of the Transcaucasian Democratic Federative Republic, and ceased to exist on 28 April 1920. Its established borders were with Russia to the north, the Democratic Republic of Georgia to the north-west, the Republic of Armenia to the west, and Iran to the south. It had a population of around 3 million. Ganja was the temporary capital of the Republic as Baku was under Bolshevik control.
Under the ADR, a government system was developed in which a Parliament elected on the basis of universal, free, and proportionate representation was the supreme organ of state authority; the Council of Ministers was held responsible before it. Fatali Khan Khoyski became its first prime minister. Besides the Musavat majority, Ahrar, Ittihad, Muslim Social Democrats as well as representatives of Armenian (21 out of 120 seats), Russian, Polish, German, and Jewish minorities gained seats in the parliament. Many members supported Pan-Islamist and Pan-Turkist ideas.