The victim was a second-year BA at Shambhu Dayal Post Graduate College and allegedly in a relationship with the accused, Prashant, Superintendent of police (city) Salman Taj Patil said.
Hearing the girl's screams, college students rushed to help her and apprehended Prashant. He was beaten by them and handed over to police, he said.
Victim was taken to the nearby MMG government hospital, from where she has been relieved after a surgery, police said.
Prashant was taken to the hospital, in an unconscious state, by the police after it was discovered that he had taken poison before the attack, the SP said.
