Mostly https://en.wikipedia.org/wiki/Afghanistan#US_invasion_and_Is...
Apparently the invasion was Oct 2001 and Bin Laden hiked over into Pakistan in Dec 2001