Why did the United States chose to go to war In Afghanistan ?

The United States went to war in Afghanistan in response to the terrorist attacks on September 11, 2001, which were planned and carried out by the terrorist organization Al-Qaeda, who were being harbored by the Taliban government in Afghanistan. The US-led invasion was primarily aimed at removing the Taliban from power, destroying Al-Qaeda's network, and preventing future terrorist attacks on the United States and its allies.