War in Afghanistan (2001–2021)
In 2004 Hamid Karzai started as the first president of the Islamic Republic of Afghanistan. Even though the Taliban had lost power, they formed a "shadow government". Taliban insurgents, or fighters, controlled many parts of Afghanistan, and enforced their own laws.