It's not easy being a conservative in Hollywood.

Just ask Tim Allen, longtime star of TV's Home Improvement and Disney films.

"You gotta be real careful around here," Allen said on Jimmy Kimmel Live. "You get beat up if you don't believe what everybody else believes. This is like '30s Germany."

Allen is in a new TV sitcom, Last Man Standing, in which he plays a conservative. But Allen doesn't just play one on TV, he really IS one.

Kimmel asked Allen about attending President Trump's inauguration ceremony, and Allen said, "Yeah, I went to the inauguration."

"I was invited, we did a VIP thing for the vets, and went to a veterans ball, so I went to go see Democrats and Republicans."

Allen is open about his conservative views. And his new show once again taps into the mood in America, which pushed Trump from a reality TV star to the White House. “Finally, we have a hero who hunts, fishes, watches sports, and occasionally drives a tank,” the Imaginative Conservative wrote about the new show.

“It’s getting more and more comfortable,” he told The Washington Post. “These guys know me so well that they’re writing stuff that is exactly what I would’ve said. It’s a marvelous thing when you have lib­eral people writing for [a show like this].”

Allen, like actor James Woods, often goes after liberals – and was a vocal critic of Barack Obama, whom he called a "communist." But he's not a Trump sycophant, either.

“Forget the stupid sh*t he says about immigrants,” Allen said about Trump. “That’s just ignorant. But he might be able to do the stuff that really needs fixing.”