Hundreds of pupils in Limpopo's Vhembe district affected by the 2015 Life Science matric leak scandal finally received their results on Friday.
The pupils' lawyer confirmed that the Department of Basic Education released the results after it lost a high court appeal.
The department had approached the court to have an order compelling them to release results overturned, but the court ruled in favour of the pupils.
The High Court in Thohoyandou ordered that the delay was prejudicing the future of the pupils.
Their lawyer, Wisani Baloyi, said they had managed to convince the court that withholding the results was prejudicing the pupils because the department was also delaying disciplinary hearings.
Pupils finally collected their results on Friday.
The Life Science Paper II was allegedly leaked at Marude Secondary school near Thohoyandou last year.
Two pupils were allegedly found in possession of it days before it was due be written.
The leak was blamed on poor security and the department ordered a re-write of the Life Science papers I and II for all pupils in the district.
The court ordered that the results should be released as the pupils re-wrote the exams and there was no dispute raised.
A criminal investigation is still underway and the disciplinary hearing set for Saturday was postponed without a new date given.
Baloyi said the decision was a relief for pupils as they could now search for places at tertiary institutions.