A Glen Cove man who allegedly sold drugs to a 27-year-old who fatally overdosed in May was indicted by a federal grand jury last week on two fentanyl-related charges, according to court papers.

Eveen Cullum, 26, pleaded not guilty to distribution of fentanyl and attempted distribution of fentanyl during a hearing before U.S. District Judge Leonard Wexler Tuesday in Central Islip federal court.

The three-page indictment, issued Sept. 14, said Cullum distributed and attempted to distribute the drug on May 30 -- the same day Glen Cove police said the 27-year-old man was found dead at his home on Fairmont Place from a fatal drug overdose.

Bail was not set for Cullum Tuesday. Prosecutors requested a permanent order of detention when Cullum was arrested on the federal complaint last month, a spokesman for the U.S. Attorney for the Eastern District of New York. Wexler agreed Tuesday to continue the order of detention.

Glen Cove police said they were able to quickly determine who had provided the drugs to the victim, and Cullum and an associate, 26-year-old Chelsea Prendergast of Glen Head, were arrested in the parking lot of a pizza restaurant at about 10 p.m. on May 30, just hours after authorities responded to the fatal overdose report.

“It became a federal case because there is a person who is deceased,” Glen Cove police Lt. Det. John Nagle said Tuesday. “We did our due diligence and were able to find a link between (Cullum) and the deceased. The feds took over and charged him federally.”

advertisement | advertise on newsday

Glen Cove police have declined to identify the overdose victim.

Federal prosecutors did not mention the May 30 overdose death in court. A spokesman for the Eastern District declined further comment.

Cullum did not speak during the hearing, but he did wave to several people who later said they were his relatives, including a woman who identified herself as his mother.

Cullum was charged earlier this year by Nassau County Attorney Madeline Singas’ office with sale and possession of a controlled substance, resisting arrest and traffic violations.

Prendergast was charged with sale and possession of a controlled substance.

A spokeswoman for Singas said the Nassau DA’s office will drop state charges against Cullum. Prendergast still faces state charges.

Cullum’s public defender LaKeytria Felder declined to comment. Cullum is scheduled to return to court on Nov. 15.