Al-Qaeda was formed in response to the Soviet invasion of Afghanistan and later redirected its efforts towards opposing the United States.
Al-Qaeda originated as a group that opposed the Soviet invasion of Afghanistan in the late 1970s and early 1980s, forming an alliance with the Taliban. However, after the Soviets were defeated, their focus shifted towards opposing the United States due to various grievances, leading to the establishment of Al-Qaeda under Osama bin Laden's leadership.
https://brainly.com/question/31940544