Based on the student's complaint, police registered a case against the teacher under relevant provisions of the Pocso Act and took him into custody.