The South West African People's Organisation (SWAPO) was founded in Windhoek, South West Africa (presently Namibia) on 19 April 1960 by Herman Toivo Ya Toivo. The party was originally formed to advocated immediate Namibian independence from South Africa and became the country's leading party following independence in 1990. SWAPO, led by one of its co-founders Sam Nujoma, began attacking the South African regime. It was essentially a military organisation, using guerrilla tactics to fight the South African forces. In 1966 SWAPO was recognised by the United Nations as the legitimate government of Namibia. SWAPO won the first independent election in 1989 and Sam Nujoma became the first president of Namibia.