The Islamic Emirate of Afghanistan (, ), also referred to as the First Islamic Emirate of Afghanistan, was a totalitarian Islamic state led by the Taliban that ruled most of Afghanistan from 1996 to 2001. At its peak, the Taliban government controlled approximately 90% of the country, while remaining regions in the northeast were held by the Northern Alliance, which maintained broad international recognition as a continuation of the Islamic State of Afghanistan. After the September 11 attacks and subsequent declaration of a "War on Terror" by the United States, international opposition to the regime drastically increased, with diplomatic recognition from the United Arab Emirates and Pakistan being rescinded. The Islamic Emirate ceased to exist on 7 December 2001 after being overthrown by the Northern Alliance, which had been bolstered by the ISAF coalition established after a U.S.-led invasion of the country two months prior. The Taliban continued to refer to itself as the Islamic Emirate of Afghanistan in official communications when it was out of power from 2001 to 2021. History Early history and ethnic conflict The Taliban and its rule arose from the chaos after the Soviet–Afghan War. It began as an Islamic and Pashtun politico-religious movement composed of madrasa students in southern Afghanistan. Overwhelmingly ethnic Pashtuns, the Taliban blended Pashtunwali tribal code with elements of Salafist teaching to form an anti-Western and anti-modern Islamist ideology with which it ruled. It began to receive support from neighbouring Pakistan as well as from Saudi Arabia, and the United Arab Emirates. A small Taliban militia first emerged near Kandahar in the spring and summer of 1994, committing vigilante acts against minor warlords, with a fund of 250,000 USD from local businessmen. They soon began to receive backing from local Durrani Pashtun leaders. The first major military activity of the Taliban was in October–November 1994 when they marched from Maiwand in southern Afghanistan to capture Kandahar City and the surrounding provinces, losing only a few dozen men. Starting with the capture of a border crossing and a huge ammunition dump from warlord Gulbuddin Hekmatyar, a few weeks later they freed "a convoy trying to open a trade route from Pakistan to Central Asia" from another group of warlords attempting to extort money. In the next three months this hitherto "unknown force" took control of twelve of Afghanistan's 34 provinces, with Mujahideen warlords often surrendering to them without a fight and the