The “fake news” writer who claimed he “got Trump elected” with bogus viral stories about paid protesters died from overdosing on a drug cocktail that included two types of the powerful synthetic opioid fentanyl, an Arizona medical examiner has concluded.

Paul Horner had in his system alcohol; anti-anxiety meds clonazepam and diazepam; and painkillers despropionyl fentanyl and furanyl fentanyl, the Maricopa County Medical Examiner’s Office concluded, according to azcentral.com.

Drugs in the fentanyl family are 50 times more potent than heroin, according to the Centers for Disease Control and Prevention.

Horner, 38, was found dead Sept. 19 in bed at his mother’s home southwest of Phoenix.

The bunko artist was known for stupefying hoaxes — including that Barack Obama is a gay Muslim and that the former president was banning “The Star-Spangled Banner” at pro sporting events — that nonetheless went viral.

One made-up tale claimed that protesters at then-candidate Donald Trump’s campaign rallies were being paid $3,500 to heckle him.

One-time Trump campaign manager Corey Lewandowski bought the bogus story and tweeted it out to more than 44,000 followers in March 2016. Trump himself latched onto the unsubstantiated claim, repeating similar allegations throughout his campaign and as recently as the spring.

Horner used websites that looked like real outlets — for example, the bogus URL abcnews.com.co — to dupe readers, which he has bragged was easier than he thought it would be.

“My sites were picked up by Trump supporters all the time. I think Trump is in the White House because of me. His followers don’t fact-check anything — they’ll post everything, believe anything,” he told the Washington Post last year.

Horner had a history with narcotics, and was found in possession of more than $15,000 in drugs in 2011, including the horse tranquilizer ketamine — which he was high on at the time of his arrest — as well as heroin, diazepam, oxycodone, anti-anxiety med Prozac and hundreds of syringes, AZcentral.com reported.