Judge Sarvamangala also slapped a fine of Rs 10,000 on Raghuprasad, an automobile mechanic based in Odathurai near Gobichettipalayam in the district.
The Judge also ordered him to pay a compensation of Rs one lakh to the 13-year old girl, studying class eight in a local school.
The prosecution case was that Raghuprasad sexually assaulted the girl on February 14, 2013 after taking her to his house. The girl, who was staying with her grandmother, sustained bleeding injuries.