Johannesburg - Ninety-seven people were arrested for offences related to Wednesday's general elections, acting Government Communication and Information System CEO Phumla Williams said.
Nonetheless, government was satisfied that Wednesday's general elections were peaceful, she said in a statement.
"Government prioritised the safety and security of the elections and is satisfied that the security of the elections was well managed and co-ordinated through the National Joint Operational and Intelligence Structure."
Williams said that four people died on election day.
"Two people died while waiting to cast their vote, while two party agents were involved in a fatal car accident.
"We wish to convey our deepest sympathy and condolences to their families and loved ones."
Government was pleased with voter-turnout, particularly the number of young people voting for the first time, as well as the patience and dignified conduct most voters displayed.
Wednesday's elections, the fifth democratic general elections, extended South Africa's record of regular and peaceful elections, Williams said.
"Today's successful election is indeed a testament to the country's active citizenry which is crucial for any vibrant democracy.
"Government wishes to commend all South Africans for the part they have played in making our elections a resounding success."