Kurt Sutter, the co-creator of FX’s popular show “Mayans M.C.,” has been fired as the series’ showrunner.

Sutter, who also created “Sons of Anarchy,” got the ax Thursday after multiple complaints were filed about his behavior, according to the Hollywood Reporter.

“Apparently, Disney HR and Business Affairs has conducted an investigation into the unacceptable conditions that have been created on the set of Mayans in season 2,” Sutter wrote in an email to the cast and crew announcing his departure. “As you know, I’ve removed myself quite a bit this season, allowing others to take a bigger role in producing the show. It appears that philosophy has backfired.”

He continued, “It’s been reported by writers, producers, cast and crew that my absence and subsequent behavior when there, has only created confusion, chaos, hostility and is perceived as abandonment. Or at least that’s how Disney has interpreted it. I’m sure it’s true.”

He then revealed he was fired due to the complaints against him.

“Not the way I wanted to end my 18-year relationship with FX. At least being fired for being an abrasive d - - k is on brand,” he wrote. “I deeply apologize if I’ve made people feel less than or unsupported. My intention was literally the opposite. But clearly, I’ve not been paying attention. My arrogance and chronic distraction has created wreckage.”

Sutter had reportedly already announced that he would be stepping back if the series was picked up for a third season, THR reports, allowing Elgin James to run the show full time.

He ended his note writing, “I don’t need, nor want, replies or condolences. I know where the love is. And for those of you who have it, I’m sure our paths will cross again.”

Sutter was a writer, producer and director on FX’s “The Shield,” which ran for seven seasons through 2008, as well as the creator of the network’s 2015 series “The Bastard Executioner.” “Sons of Anarchy,” starring his wife, Katey Sagal, ran 2008-14, and the spinoff, “Mayans M.C.,” began last year.

Reps for FX and Sutter did not return The Post’s request for comment.