Republican Sen. Jeff Flake of Arizona delivered a sharp rebuke to President Trump on Tuesday as he announced he won’t be running for re-election in 2018.

“Mr. President, I rise today to say: Enough,” the outspoken Trump critic said. “We must dedicate ourselves to making sure that the anomalous never becomes normal.”

The senator went on to say that he’s criticized Trump out of an obligation to his “duty and conscience,” despite some members of the Republican Party who believe anything less than total loyalty is “unacceptable and suspect.”

“The notion that one should stay silent as the norms and values that keep America strong are undermined and as the alliances and agreements that ensure the stability of the entire world are routinely threatened by the level of thought that goes into 140 characters — the notion that one should say and do nothing in the face of such mercurial behavior is ahistoric and, I believe, profoundly misguided,” he said.

Flake insisted that principles are more important than careers — urging an end to the “complicity.”

“There are times when we must risk our careers in favor of principles. Now is such a time,” he declared in the speech, a full transcript of which was published by CNN.

He also lamented the current political climate.

“It must also be said that I rise today with no small measure of regret. Regret because of the state of our disunion,” Flake continued. “Regret because of the disrepair and destructiveness of our politics. Regret because of the indecency of our discourse. Regret because of the coarseness of our leadership. Regret for the compromise of our moral authority.”

“And by our I mean all of our complicity in this alarming and dangerous state of affairs,” he said. “It is time for our complicity and our accommodation of the unacceptable to end. We must never adjust to the present coarseness of our national dialogue with the tone set at the top.”

Flake said no one should accept “the daily sundering of our country.”

“The personal attacks, the threats against principles, freedoms, and institutions, the flagrant disregard for truth or decency, the reckless provocations, most often for the pettiest and most personal reasons, reasons having nothing whatsoever to do with the fortunes of the people that we have all been elected to serve,” he said.

Calling the behavior coming from the “top of our government” dangerous to democracy, Flake said American values should not be undermined.

“Such behavior does not project strength — because our strength comes from our values,” he said. “It instead projects a corruption of the spirit, and weakness.”