In 1962, SWAPO was formed to resist South African rule and petition for South-West African independence. With support from the Soviet Union, SWAPO began training guerrillas and from 1966 onwards frequently clashed with the South African police and army. The war entered a new phase in 1975, when Angola gained independence and its new communist government began providing support to the guerrillas. South African troops launched raids into Angola to destroy SWAPO bases, which led to battles with the Angolan army. Cuba, which had sent troops to bolster the Angolan government, was directly involved in some of these battles. 