In the aftermath of the attacks, tens of thousands of people attempted to flee Afghanistan due to the possibility of a military retaliation by the United States. Pakistan, already home to many Afghan refugees from previous conflicts, closed its border with Afghanistan on September 17, 2001.