GettyImages-168217139
Tim Allen speaks at an award ceremony in Beverly Hills, California, May 6, 2013. Allen likened the atmosphere in Hollywood to that of Germany in the 1930s during an interview with Jimmy Kimmel Thursday. Getty Images

Though Hollywood remained a staunchly blue state in the 2016 election, comedian Tim Allen has been vocal about his political beliefs and his position in the entertainment mecca of America. The “Last Man Standing” star likened the current atmosphere in Hollywood to that of Germany in the 1930s during an appearance on "Jimmy Kimmel Live" Thursday.

In the midst of Allen discussing his attendance at the inauguration of President Donald Trump, Kimmel joked that he didn’t have to explain himself.

Read: Tim Allen Says Hollywood's Bullying Of Trump Is Hypocritical

“You gotta be real careful around here,” Allen replied. “You get beat up if you don’t believe what everybody believes. This is like ‘30s Germany. I don’t know what happened. If you’re not part of the group, ‘you know what we believe is right,’ I go, ‘Well, I might have a problem with that.’”

Allen noted that, as a comedian, he enjoyed “going on both sides” of the political spectrum.

GettyImages-504724706
Tim Allen attends the 100th episode celebration of 'Last Man Standing' in Studio City, California, Jan. 12, 2016. Allen likened the atmosphere in Hollywood to that of Germany in the 1930s during an interview with Jimmy Kimmel Thursday. Getty Images

Allen’s character on his comedy hit “Last Man Standing” is known for shunning political correctness and railing against the absurdities of politics. Allen himself has never made a secret of his views, either. The comedian appeared in an advertisement supporting presidential candidate John Kasich during the campaign last year.

In the wake of the 2016 American Music Awards, during which President Trump and his family were a hot topic, Allen told Fox News’ Megyn Kelly that he had a problem with Hollywood’s perpetual bullying of Trump.

“What I find odd in Hollywood is that they didn’t like Trump because he was a bully,” he told Kelly in the November interview. “But if you had any kind of inkling that you were for Trump, you got bullied for doing that. And it gets a little bit hypocritical to me.”

Allen denounced model Gigi Hadid’s impersonation of Melania Trump in which she mocked the first lady’s foreign accent and her speech at the Republican National Convention.

“I don’t think it’s appropriate in that venue,” he said. “But I’m not a spokesman for Hollywood, I’m a comedian.”

He also shared his views on a potential president during a January 2016 interview with the Hollywood reporter.

“I’m not opposed to anybody if their workload matches their bullshit load,” he said. “When you watch the debates, on both sides you see clowns who say shit that ain’t ever going to happen, but lately one party is the free shit party… That’s how you rack up debt, and debt is killing us. Whatever party is going to get us out of debt is my party.”