Dushanbe was controlled by the Popular Front-supported government during most of the 1992–1997 Tajikistani Civil War, although the Islamist and Democratic United Tajik Opposition managed to capture the capital in 1992 until 8000 Russian-backed and Uzbekistani-backed government troops regained control of Dushanbe. Most of the Russian population fled the capital during the violence of this time period while large amounts of rural Tajiks moved in; by 1993, more than half of the Russian population had fled. The factions during the civil war were organized primarily upon regional lines. The war was ended by a 27 June 1997 armistice, administered by the UN, that guaranteed the opposition 30% of the positions in the government.