The origins of al-Qaeda can be traced to the Soviet war in Afghanistan (December 1979 – February 1989).