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.