A state representative in Iowa is leaving the Republican Party because he says he can no longer support President Donald Trump and the views of the GOP.

Rep. Andy McKean announced he was switching parties during a press conference on Tuesday in which he called the president a “poor example for the nation.”

McKean is the longest-serving Republican in Iowa’s state legislature, according to the Gazette.

“With the 2020 presidential election looming on the horizon, I feel, as a Republican, that I need to be able to support the standard bearer of our party,” McKean said, according to the Iowa Standard. “Unfortunately, that’s something I’m unable to do.”

McKean described himself as a moderate, which he says is increasingly rare in the GOP.

“I think the party has veered very sharply to the right,” McKean said. “That concerns me.”