As the final ballots of South Africa’s fifth post-apartheid election were tallied on Friday, the results handed the governing African National Congress a victory with 62 percent of the vote — nearly the same share it won in 1994, the year it assumed power under Nelson Mandela in the nation’s f irst truly democratic election.

But the nearly identical results mask glaring differences between the two periods, during which the party has been transformed from a liberation movement that inspired South Africans, as well as Africans on the rest of the continent, to a political party buffeted by corruption, popular disillusionment and widespread complaints that it has strayed from the masses it says it represents.