South Africa has travelled a difficult road since the first inclusive elections in April 1994 ended more than three centuries of white domination.
South Africa's first all-race elections 25 years ago turned the page on an oppressive system of racial segregation called apartheid that for roughly 50 years privileged whites over blacks.
Here is a reminder.
Apartheid – an Afrikaans-language word meaning the state of "apartness" – became official government policy in 1948 when the conservative National Party took power.
It formalised a system of white-minority domination in place soon after European settlers started arriving on the southern tip of Africa more than 300 years before, most coming from The Netherlands and Britain.
Apartheid was built on laws that classified people as black, coloured (mixed race), Indian or white.
The races were separated in every aspect including at school, work and hospitals, and where they could live and shop.
Jobs were reserved for certain races; marriage and sex across the colour bar was forbidden; even beaches, buses and park benches were allotted according to skin colour.
Whites – who made up less than 20 percent of the population – owned more than 80 percent of the land.
They controlled the economy, including the lucrative mining sector, and all political levers.
Blacks had no right to vote and were relegated to inferior jobs, education and services.
They were forced to live in neglected townships on the outskirts of urban areas or in various disadvantaged ethnic-based homelands called 'Bantustans'.
Until 1986 black South Africans were obliged to carry a passport-like document called a pass book which restricted their movements.
To maintain the system, the apartheid government imposed severe censorship and relied heavily on its security forces, with compulsory conscription for white males between 1967 and 1993.
The fight back
The African National Congress (ANC) led the resistance to apartheid, first adopting non-violent tactics such as strikes, boycotts and civil disobedience campaigns.
Among the first major protests was a boycott of government buses in the Alexandra township in 1957.
In 1960 a march in Sharpeville against the hated pass books became a massacre when police opened fire on the crowd, killing 69 blacks.
In 1960 the government banned the ANC and other black opposition, and imposed a state of emergency.
Underground and in exile, the ANC turned to armed struggle.
In 1964 one of its leaders, Nelson Mandela, was sentenced with others to life in prison for sabotage. He was behind bars for 27 years, becoming the world's best-known political prisoner of the time and an icon of the anti-apartheid struggle.
The Sharpeville massacre brought world attention to the regime's brutal repression, leading to the start of its international isolation.
South Africa was excluded from the Olympic Games, expelled from the United Nations, put under arms and trade embargoes.
Internationally renowned personalities became activists against apartheid, with a major rock concert at London's Wembley Stadium in 1988 honouring Mandela.
To many, it came as a shock in 1990 when President F.W. de Klerk – in power for just five months, announced the legalisation of the black opposition.
Within days, Mandela walked free after 27 years in jail; within a year and a half, apartheid was over, its discriminatory laws undone.
Its dismantling was celebrated with the 1993 Nobel Peace Prize awarded to Mandela and de Klerk.
The transition to democracy was not without hurdles with white extremists violently resistant and rivalry between ANC militants and the Zulu party Inkhata breaking into deadly violence.
The first all-race elections were held in 1994 and black South Africans queued for hours to cast a vote for the first time in their lives.
The ANC won by a landslide and Mandela became the country's first black president. Apartheid was over.