A government school teacher in Panipat on Tuesday was booked for allegedly raping a class 11 student several times. The case came to light when the girl was found to be a seven-month-old pregnant. The accused was booked under section 6 of the prevention of children from sexual offences act.