PORTLAND, Maine — A Falmouth man was sentenced Thursday in U.S. District Court to five years in prison for distributing heroin that resulted in a death, according to the U.S. attorney’s office.

In addition to prison time, Adam Norton, 32, was sentenced to three years of supervised release.

Norton had been free on $10,000 unsecured bail since Jan. 26 when he waived indictment and pleaded guilty to the charge.

In October 2014, Norton distributed heroin to a man who died, the federal prosecutor’s office said in a press release.

Exactly how and when the man died was not explained in the release or in court documents.

Only days after the death, Norton supplied heroin to a family member who overdosed on it, but who was resuscitated with Narcan, an opiate antidote, the release said.

U.S. District Judge Jon Levy said at the sentencing that Norton’s “case presents circumstances that are the most heartbreaking” he has encountered on the bench, the release said. The judge noted that Norton’s drug trafficking was related to his heroin addiction that started from his use of medication that had been prescribed for him.

Norton faced up to 20 years in prison and a fine of up to $1 million.

The prosecution resulted from an investigation conducted by the Maine Drug Enforcement Agency, the release said.