A man who was shot in the chest three weeks...

Saoirse Kennedy Hill, the granddaughter of Robert F. Kennedy, died of an accidental overdose from a toxic cocktail of drugs, according to a coroner’s report delivered three months after her death.

The toxicology report found the 22-year-old had methadone, alcohol and a handful of prescription drugs in her system when she died and ruled the manner of her death was accidental, Cape & Islands District Attorney Michael O’Keefe confirmed Friday.

The Office of the Chief Medical Examiner ruled Hill’s cause of death was acute methadone and ethanol toxicity in combination with other prescription medications.

Hill was found unresponsive at the family’s famous Cape Cod compound on Aug. 1 after a long night of partying in Hyannis Port.

The toxicology test found fluoxetine, norfluoxetine, diazepam and nordazepam in Hill’s system.

Diazepam is used to treat anxiety while fluoxetine is an antidepressant. Methadone is a medication used to treat opioid addiction.

Hill, the daughter of Robert and Ethel Kennedy’s fifth child, Courtney, wrote publicly about her battle with depression in a 2016 piece for her high school newspaper.

Her cause of death remained unknown for months due to a massive backlog at the Massachusetts medical examiner’s officer, The Post revealed last month.

Heartbroken relatives gathered for Hill’s funeral at the storied political family’s preferred church in Cape Cod on Aug. 5.