This is an update to a story first posted at 1:12 p.m.

CHICOPEE - Police detective Michael Gendron has been suspended without pay amid allegations he engaged in a sexual relationship with a 17-year-old girl.

Chicopee Police Det. Michael Gendron has been suspended amid allegations he had a sexual relationship with a 17-year-old girl.

Chicopee Police Chief William Jebb said Gendron, 43, was placed on suspension when the department was informed of the accusations leveled by the girl's parents. They sought and won an emergency restraining order on her behalf last week, and Chicopee District Court Judge Elizabeth Sanabria-Vega extended it for one year on Friday over Gendron's objections. The order includes a mandate that prohibits Gendron from possessing a firearm.

Gendron is unmarried and has an otherwise clean disciplinary record, according to Jebb.

"I immediately suspended him and removed him from the detective bureau," Jebb said. "Up to this point, he had a stellar career."

Gendron is subject to ongoing criminal and internal investigations, he added.

He has appealed his suspension and will face a disciplinary hearing on Sept. 18 before Mayor Richard J. Kos. Gendron's professional fate lies solely with the mayor.

Thomas Rooke, a lawyer for the city, said Kos could overturn Gendron's suspension and pay him back wages, extend his suspension for up to five years or fire him.

The age of sexual consent in Massachusetts is 16. A lawyer for the girl's parents, Daniel D. Kelly, said the family is convinced the relationship began when the girl was 16 "at a minimum."

A lawyer for Gendron did not deny the relationship in court, but argued it was not illegal and not grounds for a restraining order. The girl's mother submitted an affidavit stating she caught Gendron and her daughter on the floor naked when she arrived home unexpectedly on Aug. 27.

Jebb said there have been instances where police officers have worked on inside duty without their guns for extended periods of time. He also said if Gendron does return to work, he will be transferred back to the uniform division.

Gendron and his lawyer declined to comment after the court hearing.