<human>:  Why did the US invade Afghanistan?
<bot>: The US invaded Afghanistan in 2001 after the terrorist attacks of September 11th. In the months leading up to the invasion, the Taliban refused to hand over Osama Bin Laden, who had been living in Afghanistan for many years. The US invaded Afghanistan to capture Bin Laden and bring him to justice.