Special Sessions Judge Mangala Dhote found Nagraj Shinde guilty of offences punishable under section 354 (assault or criminal force to woman with intent to outrage her modesty) of IPC and Section 8 of the Protection of Children from sexual Offences Act (POCSO).
Special Public Prosecutor Pratap Pardeshi said the court has also imposed fine of Rs 10,000 on Shinde.
Shinde was suspended in 2013 for misconduct when he was posted as the judicial magistrate (First Class) in Khandala court in Satara district.
The incident occurred in June 2014 when Shinde's wife had gone to her parents' house during her pregnancy, when Shinde lured the girl by promising gold rings and a mobile phone handset.
More From This Section
He assured her that he would enroll her into a good UPSC or MPSC coaching class and sexually assaulted her before threatening her with dire consequences if she discloses the matter.
Pardeshi told PTI that CCTV footage in the society on the particular day in which the girl was seen entering Shinde's house, turned out to the crucial evidence in securing his conviction.
"We examined 11 witnesses in the case and made a watertight case against Shinde, who himself contended his side in the court," he said.
After an FIR was registered against him at Bharati Vidyapeeth police station, Shinde went underground before surrendering in court after his pre-arrest bail pleas were rejected by the Bombay High Court and the Supreme Court.
Shinde was lodged in Yerawada Central Jail near here.