Julius Malema's behaviour has divided the ANC
Outspoken South African politician Julius Malema has been forced to make a public apology and been told to undergo anger management by the ruling ANC.
Officials found Mr Malema had brought the party into disrepute by criticising President Jacob Zuma, the ANC's leader.
Mr Malema, the ANC's youth leader, had criticised Mr Zuma for rebuking him over comments he had made publicly backing Zimbabwe leader Robert Mugabe.
In a statement, Mr Malema apologised "unconditionally" for dividing the ANC.
"I accept that as a leader of the ANC and of the ANC Youth League my conduct and public utterances should at all times reflect respect and restraint," he said in his statement of apology.
Mr Malema, 29, was also fined 10,000 rand ($1,300), to be given to a youth project, and warned he would be suspended from the ANC if he transgressed again in the next two years.
The BBC's Karen Allen in Johannesburg says that although some may see Mr Malema as having got off lightly, disciplinary hearings within the ANC are rare.
MALEMA IN QUOTES
On Jacob Zuma
We are prepared to take up arms and kill for Zuma, we are prepared to die for Zuma
On opposition Democratic Alliance's youth wing
I only debate with serious political youth formations, not a group of the racist Helen Zille's garden boys
On Education Minister Naledi Pandor
Let the minister use that fake accent to address our problems and not behave like a spoilt minister
On Communist Party official Jeremy Cronin
We do not need the permission of white political messiahs to think
The party has been eager to get the matter resolved quickly before the ANC's national executive meets at the end of the week, our correspondent adds.
Mr Malema has repeatedly courted controversy by singing apartheid-era song Shoot the Boer, making a series of uncomplimentary references to political rivals, and most recently by praising Mr Mugabe.
Mr Zuma, who heads regional mediation efforts in Zimbabwe, was forced to apologise on national TV over Mr Malema's comments on the country.
The youth leader was initially cited by ANC officials on three charges - his public support of Mr Mugabe, abusing a BBC journalist, and singing Shoot the Boer after it had been banned.
But South African news agency Sapa reported that the charges were dropped in return for him admitting guilt over his criticism of Mr Zuma.
In March, Mr Malema was found guilty of hate speech for suggesting that a woman who had accused Mr Zuma of rape may have had a "nice time".
The president was acquitted of the charges in 2006.