In a bombastic, angry and divisive speech to his core supporters, President Donald Trump said Tuesday night in Phoenix that he was ready to shut down the government in order to secure funding for a proposed border wall and that Nafta will probably be eliminated.

“ “If we have to close down our government, we’re building that wall.” ”

“One way or the other, we’ll build that wall,” Trump said, leading chants of “Build the wall!”

Building a border wall was a central part of his campaign platform, along with the promise that Mexico would pay for it. But Mexico has flatly rejected paying for a wall, and the expensive proposal has little support in Congress, even among Republicans.

Congress has until Sept. 30 to pass a funding deal, and Trump could veto a budget that does not include funds for a border wall, causing a government shutdown.

Trump also said he doubts renegotiating the North American Free Trade Agreement will work. “I think we’ll end up probably terminating Nafta at some point,” he said.

Trump hinted that he would pardon Joe Arpaio, the former Maricopa County, Ariz., sheriff who was convicted last month of criminal contempt for racial profiling. Earlier in the day, the White House said a pardon would not come during the speech.

“I’ll make a prediction. I think he’s going to be just fine,” Trump said. “I won’t do it tonight because I don’t want to cause any controversy,” Trump said. “But Sheriff Joe can feel good.”

Read:Trump, McConnell not on speaking terms: report

Trump began his speech repeating his statement from last Tuesday in the aftermath of deadly violence at a white supremacist rally in Charlottesville, Va. — but notably omitting the key phrase casting blame “on many sides” that caused the furor over his remarks in the first place. Trump then said that he did condemn white supremacists in a speech last Monday. “I hit ‘em with neo-Nazi, I hit ‘em with everything. KKK? We have KKK. I got ‘em all,” he said.

While not specifically mentioning Charlottesville, Trump on Tuesday said, “They are trying to take away out history and heritage” in response to calls to remove statues of Confederate leaders, and falsely claimed “weak people” are seeking the removal of statues of George Washington, Abraham Lincoln and Theodore Roosevelt.

Trump attacked, at various times, Senate Majority Leader Mitch McConnell and Arizona Sens. John McCain and Jeff Flake. Trump also spent about 10 minutes railing against the media, calling them liars and un-American. “I really think they don’t like our country. I really believe that,” Trump said.

Trump supporters were met by a mass of protesters outside the downtown arena, and there were reports of confrontations, with police firing tear gas at demonstrators after the speech ended.