B. It was believed that Afghanistan was harboring key members responsible for the September 11th terrorist attacks.
The U.S. and its allies invaded Afghanistan in late 2001 primarily because the Taliban regime was providing sanctuary to al-Qaeda, the terrorist group responsible for the September 11 attacks. The aim was to dismantle al-Qaeda's operations and remove the Taliban from power to prevent further terrorism.