Two 10-year-old Afghan and Syrian migrants have been expelled from school after allegedly raping a 10-year-old German boy before the summer holiday, reports the German media.

The migrants had repeatedly threatened the boy with rape between classes at the Schloss Kröchlendorff school before finally committing the crime, according to the school's representative.

"I am appalled by this shocking case. Everything must be done to support the injured child and the family, " Education Senator Sandra Scheeres told BILD.

A friend of the victim had alerted the school authorities and police to the incident, and the migrant boys were then expelled from the school.

It's not clear what further legal action was taken against them.

"All forces have worked together here to work up the case: school psychology, school management, youth welfare office and police. None of the culprits goes to school anymore," Senator Scheeres said.

"For this we have exhausted all legal options for the two eleven-year accomplices (one Syrian, one Afghan), meanwhile other schools in other districts were found."

(Photo: CHRISTOF STACHE/AFP/Getty Images)