After World War II, many African countries sought independence from European colonial rule, inspired by India and other Asian nations that had gained freedom. Ghana was the first to gain independence, through nonviolent tactics led by Kwame Nkrumah. Algeria had to fight violently against French forces for independence. Kenya also struggled for independence from Britain, with Jomo Kenyatta leading the movement. Some newly independent nations like the Congo experienced civil war and unrest as they were unprepared to govern. South Africa imposed the system of apartheid that denied political power and rights to the black majority until the end of apartheid in the 1990s.