A 12-year Framingham firefighter who resigned last month was arraigned Thursday on felony corruption charges after authorities said he forced an Asian massage parlor to perform free "body work" to avoid a fire code fine.

Todd Young, 42, of Framingham, pleaded not guilty in Middlesex Superior Court to felony charges of soliciting and accepting a corrupt gift to influence an official act, filing a false written report as a public officer and misleading a police officer, MetroWest Daily News reported.

Young pleaded not guilty and declined to comment through his lawyer after the hearing. Town officials confirmed that he has worked for the town since 2002.

Court documents show that a woman who worked at the parlor told police she performed a sexual act on Young, who served as a fire inspector. They also allege he lied to police when confronted.