Freedom fighters in the 80's, Terrorists now.
https://en.wikipedia.org/wiki/Mujahideen
https://en.wikipedia.org/wiki/Taliban%27s_rise_to_power
"Although no documentation has officially surfaced that the CIA directly supported the Taliban or Al Qaeda, some basis for military support of the Taliban was provided when, in the early 1980s, the CIA and the ISI (Pakistan's Inter-Services Intelligence agency) provided arms to Afghans resisting the Soviet invasion of Afghanistan, and the ISI assisted the process of gathering radical Muslims from around the world to fight against the Soviets.[11] Osama bin Laden was one of the key players in organizing training camps for the foreign Arab volunteers"