Does Osama bin Laden have anything to do with the Afghan War?

"Supposedly" The war followed the September 11 attacks, and its public aims were to dismantle al-Qaeda and denying it a safe basis of operation in Afghanistan by removing the Taliban from power.