The girl was travelling in Shramjeevi Express from New Delhi to Patna. "Finding her alone, the accused started misbehaving and passed objectionable comments," the official said.
After the girl tweeted, the railway police was directed to help her immediately after which the accused was arrested and sent to jail for harassment, the official added.
Read More: Jai Ho, Indian Railways: Suresh Prabhu responds to tweet, sends doctor, milk to child in train
Overwhelmed by the timely help, the girl thanked Railway Minister Suresh Prabhu and his ministry.