Birbhum Additional District and Sessions Judge, Mahananda Das, sentenced Shyam Burman (48) to life imprisonment for raping the girl in October last year and slapped a fine of Rs 10000 on him.
The court also ordered the state government to pay the girl Rs five lakh as compensation.
The girl had gone with her mother to witness Durga idol immersion in Bolpur area in October last year when Burman took her away to a nearby forest and raped her.
Initially, he denied his involvement but confessed to his crime when he was beaten up by the angry villagers.
He was then handed over to the police.