Chuck Wending, author of the bestselling Star Wars: Aftermath novels, says Marvel Comics has fired him from their Shadow of Vader series over his political outspokenness.

The writer posted to Twitter on Friday to say he was removed from the five-volume series with two issues unfinished, and another as-yet-unannounced project was canceled.

Today I got the call. I’m fired. Because of the negativity and vulgarity that my tweets bring. Seriously, that’s what Mark, the editor said. It was too much politics, too much vulgarity, too much negativity on my part.

Shadow of Vader was announced Oct. 5 at New York Comic Con with plans to debut in January. Each issue focuses on a character who is dealing with (or cleaning up after) Vader’s actions as the Emperor’s galactic enforcer.

Wendig said he believed the decision rested solely with Marvel Comics and not with Lucasfilm’s publishing division. He does not currently have any novels or other projects in the works with that department.

Marvel Comics did not immediately respond to EW’s request for comment.

Wendig told EW he thinks the decision to fire him over his political tweets will have wider implications for writers and artists in general.

“It’ll be chilling,” he said. “It’ll make creators with smaller voices than mine be afraid to speak out.”

Hey, @marvel, @WaltDisneyCo, you wanna work with creators who have vision & imagination, better accept they may also express themselves politically (or impolitically!!). When the trolls persuade you to fire a @JamesGunn or @ChuckWendig, they lose, you lose & your audience loses.

Wendig became the target of the trolls after a furious tweet about Brett Kavanaugh’s confirmation to the Supreme Court caught the attention of right-wing pundits, drawing an avalanche of equally rancorous replies from their followers.

One of Wendig’s landmark contributions to the Star Wars canon was the introduction in Aftermath of the first openly gay hero, the Imperial defector turned Rebel agent Sinjir Rath Velus. (The earlier novel Lords of the Sith introduced the first LGBTQ character, the villainous Moff Delian Mors, a lesbian Imperial officer.)