An Indiana teacher broke the index finger of a middle school student while they were wrestling each other during an anger-management class, TheIndyChannel.com reported.

Teacher Scott Porter allegedly put the student, Jordan Mundy, in a headlock before telling the kid, ''Tap out or something breaks,'' indicating to the student that he must tap the teacher to show his submission, according to the report.

"I tapped out, and he grabbed that finger," Mundy told TheIndyChannel.com.

Click here to read the full TheIndyChannel.com report.

The incident started out as horseplay, but school officials told TheIndyChannel.com they are trying to determine "whether or not somebody got angry during that altercation."

Porter resigned from his position and apologized for the incident saying, "I love those kids like they were my own," according to the report.