The Soviet Union invaded Afghanistan in 1979 primarily due to geopolitical and ideological reasons. The Soviet leadership aimed to maintain a communist regime in Afghanistan, supporting the People's Democratic Party of Afghanistan (PDPA) against opposition forces. They sought to protect their sphere of influence in the region, secure a strategic position in Southwest Asia, and prevent the spread of Islamic fundamentalism.