The 17-year-old who had gone missing since December 12 had gone to advocate Balkrishna Nagar's residence in Sampat Nagar here that day to get her caste certificate made.
Soon after the girl entered his office, the advocate downed the shutters and sexually assaulted her after which his wife Angrooabla helped her husband to tie the victim to a bed.
According to police, the advocate raped the girl for 13 days but yesterday when the residents heard the girl scream, cops reached the spot and freed the victim.
Meanwhile, the victim has been sent for medical examination.