<human>:  Why did the US invade Afghanistan?
<bot>: The US invaded Afghanistan in 2001 because the Taliban government was harboring Osama bin Laden and Al Qaeda. The US wanted to capture bin Laden and bring him to justice for the September 11 attacks.