After a major political crisis, the Fifth Cabinet of Ministers of the Azerbaijan Democratic Republic resigned on April 1, 1920. On April 25, 1920, the Soviet Russian 11th Red Army crossed into Azerbaijan, entering Baku on April 27. They demanded the closing of the Azerbaijani parliament and set up their own Bolshevik government headed by Nariman Narimanov. To avoid bloodshed, the members of parliament had to agree with the demand and the ADR officially ended on April 28, 1920, giving way to the Azerbaijan Soviet Socialist Republic (Azerbaijan SSR) as its successor state. The Red Army met very little resistance in Baku from the Azerbaijani army, which was tied up on the Karabakh front. The first Communist government of Azerbaijan consisted almost entirely of native Azerbaijanis from the left-wing political factions of the "Hummat" and "Adalat" political parties.