The Socialist Workers' Party supported Ayatollah Khomeini during the Islamic Revolution in Iran as "anti-imperialist", but the Spartacists gave no support to this. The League was one of the few communist groups other than the Workers World Party to hail the Soviet invasion of Afghanistan in 1979 and the occupation that followed. At the time the Spartacists believed it provided an opportunity to extend the gains of the October Revolution to the Afghan people, especially women, in a struggle against the misogynistic Islamic fundamentalists of the U.S.-backed Mujahideen. Later, when the U.S. intervention led to the formation of the successive Islamic governments of the Mujahideen and the Taliban, the League echoed its condemnation of the Islamic Revolution in Iran and denounced these governments as theocratic, capitalist and anti-woman.