A former high-ranking US Marshals official in Boston admitted to having sex with nine women inside courthouse offices after initially lying to investigators and urging the women not to cooperate with authorities, according to a report.

A spokesman for the US Marshals declined to confirm the subject of the investigation, but several sources told The Boston Globe that Jon Murray — the chief deputy marshal in Massachusetts from 2011 until late 2015 — was the target of the probe.

Federal investigators said the false statements amount to criminal violations, but prosecutors have declined to file charges.

A Justice Department inspector general report obtained by the Boston Globe through the Freedom of Information Act does not identify Murray as all names were redacted, but the individual under investigation was accused of “inappropriate conduct of a sexual nature” involving multiple women.

Murray had been investigated for “allegations of misconduct with women” as far back as July 2015, according to a memo written by his superior that was among additional documents provided to congressional investigators.

The subject of the Justice Department investigation initially denied the allegations in two interviews while under oath, but finally confessed after one of the women began cooperating with authorities, according to the Globe.

“I handled this horribly from the get go,” he told investigators, according to the redacted report in which he admitted to having sex with “approximately nine women” inside US Marshals courthouse offices.

The subject also said he was “uncomfortable” moving forward, “potentially in a criminal proceeding, where I would have to go before a court and defend a lie,” according to the report.

Some of the women were also urged by the subject not to cooperate with investigators, which was considered by the inspector general as a criminal attempt to influence witnesses.

The US Marshal for Massachusetts, John Gibbons, asked that Murray be transferred in light of the DOJ investigation, according to the memo provided to congressional investigators. Murray was second in command in Gibbon’s office before he was transferred to Rhode Island in September 2015.

A prosecutor for then-US Attorney for Massachusetts Carmen Ortiz was considering criminal charges, including for obstruction of justice and media leaks affecting cases and sensitive information involving high profile witnesses, according to Gibbons’ memo, but Ortiz’s office later recused itself.

The matter was then transferred to the Justice Department’s Public Integrity Section, which declined to press charges. It’s unclear whether Murray still has top secret security clearance, a US Marshals spokesman told the Globe.