The most accurate statement describing the reason the Soviet Union invaded Afghanistan is:
"The Soviet Union wanted a puppet leader there to fulfill its wishes."
The invasion in 1979 was largely motivated by the desire to support the communist government in Afghanistan, which was struggling against insurgent groups. The Soviet Union aimed to maintain control and influence in the region and to ensure a favorable government aligned with its interests.