DRACUT — A longtime Dracut police detective says he is a whistleblower on police corruption and cronyism and is being retaliated against because of it.

On Dec. 2, Dracut Officer Joseph Jakuttis struck back, filing an 88-page lawsuit in Middlesex Superior Court filled with salacious allegations of sex-and-drug parties involving fellow officers and a confidential informant.

Jakuttis is accusing Dracut police, State Police and DEA officials of retaliating against him after he brought the accusations to light.

Jakuttis claims he was fired from his position on a regional drug task force, known as the Cross Border Initiative (CBI), and demoted within the Dracut Police Department for blowing the whistle on two fellow officers.

Named as defendants are: the town of Dracut; Deputy Chief David Chartrand; DEA Agent Michael O’Hanlon, who led CBI; a State Police trooper assigned to the CBI who is referred to by the pseudonym John Doe 2; and the supervisor of the Dracut Police Department’s detective bureau, who is referred to as John Doe 1. Another Dracut police officer is referred to in the document as John Doe 3.

While The Sun has learned the identities of the Dracut officers, it has declined to use their names at this time while it pursues details surrounding the explosive allegations.

Jakuttis’ attorney would neither confirm nor deny the identity of the anonymous defendants.

Chartrand and two Dracut police officers did not respond to multiple requests for comments for this story.

O’Hanlon said he could not comment at this time.

Both Dracut Town Manager Jim Duggan and interim Police Chief Neil Ouellette said they could not comment on pending litigation.

Jakuttis joined the department in 1998. He worked as a detective until 2006, when he suffered an injury while working undercover. He was on medical leave and then medically retired from the force until 2012, when he was able to return to work.

During his time as a detective, he was named the department’s Officer of the Year in 2004, and received a commendation for “outstanding job performance” from the state, according to the lawsuit.

In 2012, Jakuttis was assigned to CBI, which is a collaboration between the DEA and local law enforcement in several New England states, according to his lawsuit.

In January 2015, Jakutiss was debriefing a confidential informant — referred to in the lawsuit as “CS” — who told the detective he bought and used cocaine and heroin with two Dracut police officers, according to the lawsuit. The informant also said he and the officers partied with women, engaged in sex, and consumed drugs in his apartment.

According to the lawsuit, the officers began to meet two to three times a month at the informant’s apartment to allegedly purchase and take drugs. On one occasion, a Dracut officer arrived at the apartment in an unmarked vehicle, which he later used to drive the informant to Lowell General Hospital when he overdosed from drugs. The officer allegedly told ER attendants that he picked up the “patient” along the roadway.

On another occasion, the lawsuit says a Dracut officer and the informant, taking part in an undercover drug buy from a dealer, hid several bags of cocaine obtained in the DEA investigation for their own use at a later time.

The informant told Jakuttis that he had not confided in any other law-enforcement officers, because he feared punishment for turning on the allegedly corrupt officers, according to the lawsuit.

Jakuttis claims that after revealing the informant’s accusations against the Dracut officers to his CBI superiors, he was subjected to severe harassment and intimidation.

“My client was just doing the right thing, the ethical thing, that any citizien would do and he was retaliated against,” said Laurence Sweeney, who is representing Jakuttis.

After several angry confrontations with John Doe 2 — during which, Jakuttis claims, the state trooper called him a “liar” and a “rat” — Jakuttis spoke with CBI leader O’Hanlon on Oct. 20, 2015, according to the lawsuit.

O’Hanlon allegedly told Jakuttis that, despite his “outstanding and excellent” work, the Dracut detective was being removed from the CBI task force because “(John Doe 2) has to be treated with kid gloves” and “I have no idea what he’s capable of,” according to the lawsuit.

Reached by phone, O’Hanlon said he could not confirm or deny the statements attributed to him in the lawsuit.

When Jakuttis returned to the Dracut Police Department, Deputy Chief Chartrand allegedly told him that he could no longer be a detective and was instead being reassigned to regular patrol. When Jakuttis asked why, Chartrand allegedly replied that the officer in charge “doesn’t want you there” and “he’s been here for me for 10 years and I can’t kick sand in his face,” according to the lawsuit.

Jakuttis claims the harassment caused him to suffer a list of medical issues, including anxiety, insomnia and weight loss. He is currently on disability leave.

Jakuttis is requesting a trial by jury and monetary damages. If the defendants do not settle before a quickly approaching deadline, when they will be summonsed to court, their identities will soon become part of the public record.

Summers, Jakuttis’ attorney, said he and his client chose not to name several of the defendants in the initial filing because they “don’t want to ruin anybody’s life.”

Follow Todd Feathers on Twitter and Tout @ToddFeathers.