BRIDGEPORT — A city man who kept selling heroin even after he had pleaded guilty to supplying the drug to the victim of a deadly overdose was sentenced to 21 months in federal prison Thursday.

Darryck Norris, 25, had pleaded guilty to distributing heroin in May 2017 in connection to the overdose of a 37-year-old man found slumped over at a Milford home Oct. 27, 2016.

“Emergency personnel attempted lifesaving measures and administered two doses of the opiate antidote Narcan, which had no effect,” Durham said. “The victim was pronounced deceased.”

Investigators searched the man’s iPhone, which revealed text messages showing he had bought heroin from Norris that day, as well as for several months prior to his death.

Days after the overdose, DEA agents and Milford cops conducted a “controlled purchase” of heroin from Norris in Bridgeport.

The heroin bags they bought had the same stamp on them as several found by the overdose victim.

Norris was arrested two days later and released on $50,000 bond, even after his guilty plea in the case.

Last February, Bridgeport cops arrested Norris on charges of possession of narcotics with intent to sell, among other offenses.

“Subsequent investigation revealed that Norris had been distributing heroin between approximately December 2017 and his arrest,” Durham said.

Norris pleaded guilty to a second count of distribution of heroin last October.

In a sentencing memo, his lawyer wrote that Norris’ life has been “filled with loss, pain and trauma” — including seeing a family friend shot to death when he was 5 years old. By the age of 10, he was experimenting with drugs himself.

“Mr. Norris is deeply remorseful for his offense conduct and for the devastating consequences of his conduct,” the memo read. “He has made significant efforts to address the underlying causes of his behavior since his arrest, and he has a plan in place going forward to continue working on those issues.”

In letters to the judge and the victim’s family, Norris apologized.

“He was not only a son and a friend but a loving man as well,” Norris said of the victim. “I wish it was possible for me to change all that has happened but I can’t. All I can do is ask that through their pain his family finds it in their heart to forgive me.”

In a memo of their own, federal prosecutors noted that “the defendant engaged in the same conduct while on federal release for the identical conduct where an individual died from buying drugs from the defendant.”

“In short, the defendant does not appear to have learned from his previous involvement with the criminal justice system,” they wrote.

U.S. District Judge Stefan R. Underhill in handed down the 21-month sentence, which will be by three years of supervised release.

The case was investigated by the Drug Enforcement Administration’s Bridgeport Resident Office, the DEA’s New Haven Task Force, and the Milford and Bridgeport Police Departments. The case was prosecuted by Assistant U.S. Attorney Douglas P. Morabito.