ABC's decision to cancel Tim Allen's hit sitcom "Last Man Standing" as it closes its sixth season resulted in the network being accused of playing politics.

Only "Modern Family" beat "Last Man Standing" in the ratings for ABC programming.

Allen, whose previous ABC hit "Home Improvement" ran from 1991-1999, has been vocal in his criticism of Hollywood's leftist culture and said he attended President Trump's inauguration.

According to Heat Street, many viewers believe Allen's refusal to remain silent about politics in heavily Democratic Hollywood led ABC to cancel "Last Man Standing" despite drawing 8.1 million viewers this season.

Allen supported Gov. John Kasich (R-Ohio) in the presidential primaries, and said being a conservative in Hollywood was akin to living in Nazi Germany.

Gold Star Mom Publishes Children's Book In Son's Memory

Fmr Intel Chief: Trump 'Assaulting' Institutions Created By Founders

WATCH: Baldwin's Trump, McCarthy's Spicer Have Very Emotional Reunion on SNL

He also called out Hollywood for "bullying" Trump while criticizing the president for being a bully at the same time.

On the show, Allen played Mike Baxter, a conservative father who worked at a Cabela's-type outdoors emporium.

Critics of the decision also pointed out that ABC's parent, the Walt Disney Company, is headed by Bob Iger, who is reportedly mulling a 2020 run against Trump as a Democrat.

UPDATE: Channing Dungey, ABC Entertainment President, said Tuesday the decision was part of a strategic shift away from comedy and not based on Allen's political views.

Meantime, Allen said on Twitter he was "stunned and blindsided" by the news.

An online petition to "save" the show has garnered more than 100,000 signatures.

"Last Man Standing is one of the only shows on broadcast television, and the only sitcom, that is not constantly shoving liberal ideals down the throats of the viewers.  And sadly, that is likely the real reason the show has been cancelled," the petition states.

WATCH: 'Watters' World' Visits Liberty U For Trump Commencement Speech

Bobby Knight: Forget Politics, 'We Have A POTUS That Loves This Country'

Trump to Pirro: I'm 'Surprised' At 'Hypocrite' Dems For Blasting Comey Firing