Prempal, a class IX student, had taken the girl to a nearby place and raped her yesterday evening, police said.
Later, he attempted suicide by consuming poison, they said, adding, his relatives rushed him to a nearby hospital.
The girl's relatives lodged a police complaint on the basis of which the youth was arrested from hospital, they said.
He is now in custody in hospital, they said, adding, the victim was sent for medical examination.