A South African mother who tried to sell her 19-month-old baby boy on the Internet for $340 was given a five-year suspended sentence, a justice official said Thursday.
The 20-year-old mother will not spend time in jail, but will live under house arrest for three years.
The woman, who cannot be named to protect the identity of the child, put the baby up for sale for 5,000 rand in an advertisement on the Gumtree website last year.
A member of the public alerted the police who arrested her in an undercover operation in October.
"She was given a wholly-suspended sentence of five years," National Prosecuting Authority spokeswoman Natasha Ramkisson-Kara told AFP.
She will "undergo correctional supervision, which means basically house arrest for a period of three years," Ramkisson-Kara added.
The mother said she had tried selling her baby after her boyfriend stopped paying childcare following paternity tests that showed he was not the child's father.
Human trafficking carries a maximum life jail term or a fine of 100 million rand ($6.7 million).
But the court sitting in the eastern city of Pietermaritzburg on Wednesday handed down a lighter sentence after considering the woman's circumstances.
"The magistrate found that the woman did not have intention per se to traffic the child," said Ramkisson-Kara.