The girl, a student of intermediate second year in AP Social Welfare Residential Junior College at Khambampadu village, was fed up with the lewd messages sent by her lecturer Chandrasekhar, DSP A Shankar Reddy said.
Unable to put up with the indecent messages, the victim ended her life by consuming pesticide, he said.
Soon after the incident, irate villagers allegedly thrashed the teacher and handed him over to Konduru Mandal Police, which registered a case and arrested him.
Meanwhile, students from the college demanded that the accused be booked under provisions of Nirbhaya Act.
In pictures: Bend it like Mumbai yogini Natasha Noel
Photos: Varun, Taapsee, Jacqueline promote 'Judwaa 2' on 'Dance Plus 3'
Instagram's newest sensation: Check out these photos of Bruna Abdullah
Photos: This is how Chitrangda Singh looks without make-up
Photos: Malaika Arora parties wearing see-through lace dress