
Judge Mujib Saroji ordered the man to serve the jail sentence from May 15, the day of his arrest.
He was charged with raping the girl in the back room of a house in Simpang Renggam at 3.30pm on May 14.
The man pleaded guilty to the charge. In mitigation, the accused, who was unrepresented, apologised for his action.
In the same court, a proprietor of a car spare-part shop, Tan Chuang Loong, 32, was charged with murdering K Ramachandran at a factory along Jalan Perindustrian Gemilang, Taman Perindustrian Gemilang, here between 2.50am and 4am last May 15.
No plea was recorded from Tan, represented by Abraham Mathew, as the case is under the jurisdiction of the High Court.
The court set June 17 for mention.