CHICOPEE — Police Det. Michael Gendron was hit with a year-long restraining order Friday in connection with an alleged sexual relationship with a 17-year-old girl, according to court documents.

The 14-year veteran of the police force appeared in Chicopee District Court Friday opposite the high school student's parents. Springfield attorney Daniel D. Kelly, representing the parents, told a judge the mother caught Gendron, 43, naked on the floor with her daughter when she came home early one day

"Depending on when the relationship started, which was 16 at a minimum, it could trigger a long list of crimes," Kelly said.

While a lawyer for Gendron did not deny the existence of a relationship he conceded some might consider "inappropriate," he said the evidence being presented at the hearing was second-hand and did not support an extension of an emergency restraining order granted earlier this week.

"There's no evidence of any illegal physical contact," defense lawyer John Jerzyk argued. "She's 17 years old; she's not under 16."

Under state law, 16 is the age of sexual consent.

According to Jerzyk, Gendron faces a disciplinary hearing at the police department on Sept. 18. He is on administrative leave and was relieved of his gun in the interim. However, the year-long restraining order imposed by Judge Elizabeth Sanabria-Vega includes a ban on carrying firearms. Jerzyk asked the judge to lift that particular restriction, but Sanabria-Vega refused.

"I'm not lifting the firearms (restriction). I don't lift firearms restrictions on restraining orders," she said.

When Jerzyk attempted to contend that the girl's mother's testimony was hearsay, the judge similarly shut down that argument.

"You read the affidavit. The mom walked in on them. She's saying what she saw," said Sanabria-Vega.

The mother's affidavit states that she came home early from an interview and found Gendron and her daughter naked.

"Immediately the door shut, and I opened it to find (Gendron) standing there naked and getting dressed ... (my daughter) informed (others) that this has been going on for some time," the affidavit reads. "He manipulated her and molested her maybe since January of 2014 when she was 16 years old."

The Republican / MassLive.com does not identify victims of alleged sexual misconduct.

Both Gendron and Jerzyk declined comment while leaving the courthouse.

The newspaper has calls pending to Chicopee Police Chief William Jebb and Mayor Richard J. Kos.

Kelly said he believes investigations by the Massachusetts State Police and Chicopee Police are ongoing. The order mandates that Gendron stay away from the girl's school, home and workplace. it also prohibits any further contact with the girl.