From 1996 to 2001, the Taliban held power over roughly three-quarters of Afghanistan, and enforced a strict interpretation of "Sharia", or Islamic law. The Taliban emerged in 1994 as one of the prominent factions in the Afghan Civil War and largely consisted of students ("talib") from the Pashtun areas of eastern and southern Afghanistan who had been educated in traditional Islamic schools, and fought during the Soviet–Afghan War. Under the leadership of Mohammed Omar, the movement spread throughout most of Afghanistan, shifting power away from the Mujahideen warlords. The totalitarian Islamic Emirate of Afghanistan was established in 1996 and the Afghan capital was transferred to Kandahar. It held control of most of the country until being overthrown after the American-led invasion of Afghanistan in December 2001 following the September 11 attacks. During the group's previous rule parts of the northeast were held by the Northern Alliance, which largely maintained international recognition as a continuation of the interim Islamic State of Afghanistan. At its peak, formal diplomatic recognition of the Taliban's government was acknowledged by three nations: Pakistan, Saudi Arabia, and the United Arab Emirates. The group later regrouped as an insurgency movement to fight the American-backed Karzai administration and the NATO-led International Security Assistance Force (ISAF) in the War in Afghanistan.