A Crawford College substitute teacher who went viral for writing racist phrases on a class board was attempting to teach Grade 8 pupils not to be affected by the k-word because they did not live through apartheid.

TimesLIVE report notes that a video surfaced of the white teacher writing the n-word and k-word on a board at the school in Pretoria.

This was apparently part of an English lesson the substitute teacher (82), was giving on provocative words.

The pupils were shocked by what was being written on the board, as seen in video footage shared on social media.

One pupil is heard saying: ‘Absolutely insane. This right here, no, no, no. Not in my country.’

The Gauteng Education Department visited the school yesterday and established that the incident happened on Monday.

The video surfaced later that afternoon and the substitute teacher was dismissed by the school that evening, said spokesperson Steve Mabona.

She has been reported to the South African Council for Educators (Sace) and de-registered so she is no longer allowed to teach children, he said.

Gauteng Education MEC Matome Chiloane said: ‘We applaud the school for taking a swift decision by removing this educator immediately and being keen to take further remedial steps of action alongside the department.’

IoL reports that Cheryl Naidoo, the school principal of Crawford's Pretoria campus, said the school will take legal action against the teacher.

'We firmly denounce any form of prejudice or discrimination, and we are shocked and dismayed over this matter,’ said Naidoo.

Full TimesLIVE report

Full IoL report