A Brooklyn teacher is under arrest after playfighting with a student.

Police sources tell NY1 Xavier Guerrero placed the student in a chokehold while they were rough housing at the Khalil Gibran International Academy in Boerum Hill.

Another student apparently stepped in and struck the teacher, which led to a scuffle.

Guerrero is charged with assault and criminal obstruction of breathing.

The Department of Education says he will be reassigned while the incident is under investigation.