A South African woman who kidnapped a newborn nearly two decades ago from a hospital and raised the girl as her own has been sentenced to 10 years in jail.

South African media reported Monday that Judge John Hlophe in Cape Town announced the sentence.

To protect the privacy of the young woman who was kidnapped, the judge ordered that her adopted name and the name of her kidnapper not be used by the media. The kidnapper had been convicted of kidnapping, fraud and contravening child protection laws.