WASHINGTON — President Donald Trump heaped praise on law enforcement while decrying anti-police sentiment in a speech to FBI academy graduates on Friday not long after he lamented the agency's "sad" and "disgraceful" state.

In remarks to the FBI National Academy that also touched on immigration and violent crime, Trump called himself a "true friend and loyal champion" of police while noting that members of law enforcement "rarely get the recognition" they deserve.

"We will protect those who protect us," the president said, adding that those accused of killing police officers "should get the death penalty."

"Anti-police sentiment is wrong and it's dangerous, and we will not stand for it," he said.

An hour earlier, speaking to reporters on the White House lawn on his way to talk to graduates of the academy in Quantico, Virginia, Trump said: "It's a shame what's happened with the FBI, but we’re going to rebuild the FBI. It’ll be bigger and better than ever."

Referencing the 90 pages of newly released messages, many critical of the president, between an FBI lawyer and an agent later assigned to special counsel Robert Mueller's Russia probe, Trump called it "sad when you look at those documents and how they've done that is really, really disgraceful and you have a lot of very angry people that are seeing it."

In his speech, the president also made a pitch for cracking down on immigration and stepped up his attacks on the visa lottery system and chain migration, which his administration has called on Congress to end in the wake of recent terror attacks in New York City.

He also painted an inaccurate picture, however, of a system that invites the "worst people," insinuating that names were put "in a bin" and chosen out at random. (Actually, visa lottery applicants must meet eligibility requirements to enter the program, and applicants are vetted through strict State Department processes.)

"Congratulations, you're going to the United States!" Trump said. "What a system."

Promises of an immigration crackdown spurred applause from the law enforcement crowd as Trump went on to issue a new message to members of the MS13 gang Friday. "We will find you, we will arrest you, we will jail you, we will throw you the hell out of the country," he said.

But the last option was the one preferred by the president, he said, because in jail "we have to take care of them — who the hell wants to take care of them?"

The "jail stuff," Trump said over laughter from the crowd, "is wonderful, but we have to pay for them right?"

The FBI’s website describes the National Academy as a 10-week “professional course of study for U.S. and international law enforcement managers nominated by their agency heads because of demonstrated leadership qualities.”

Trump tweeted this month that the FBI's "reputation is in tatters," prompting FBI staffers — including Trump's own pick to head the agency after he fired former director James Comey — to defend it against the president's assertions.





After years of Comey, with the phony and dishonest Clinton investigation (and more), running the FBI, its reputation is in Tatters - worst in History! But fear not, we will bring it back to greatness. — Donald J. Trump (@realDonaldTrump) December 3, 2017

"The FBI that I see is tens of thousands of agents and analysts and staff working their tails off to keep Americans safe from the next terrorist attack, gang violence, child predators, spies from Russia, China, North Korea and Iran," FBI director Christopher Wray said last week during an appearance before the House Judiciary Committee.

12 PHOTOS FBI Director Christopher Wray See Gallery FBI Director Christopher Wray FBI Director nominee Christopher Wray sits during a meeting with Senate Judiciary Committee Chairman Chuck Grassley (R-IA) on Capitol Hill in Washington, U.S., June 29, 2017. REUTERS/Joshua Roberts Christopher Wray testifies before a Senate Judiciary Committee confirmation hearing on his nomination to be the next FBI director on Capitol Hill in Washington, U.S., July 12, 2017. REUTERS/Carlos Barria Christopher Wray, President Donald Trump's nominee to lead the FBI, is seen on Capitol Hill in Washington, U.S., July 27, 2017. REUTERS/Aaron P. Bernstein Sen. Mark Warner (D-VA) meets with Christopher Wray, who U.S. President Donald Trump has nominated to be FBI Director, on Capitol Hill in Washington, U.S., July 13, 2017. REUTERS/Aaron P. Bernstein Christopher Wray (L) is greeted by former Senator Sam Nunn as he arrives to testify before a Senate Judiciary Committee confirmation hearing on his nomination to be the next FBI director on Capitol Hill in Washington, U.S., July 12, 2017. REUTERS/Aaron P. Bernstein Christopher Wray is sworn in prior to testifying before a Senate Judiciary Committee confirmation hearing on his nomination to be the next FBI director on Capitol Hill in Washington, U.S., July 12, 2017. REUTERS/Carlos Barria Christopher Wray is seated prior to testifying before a Senate Judiciary Committee confirmation hearing on his nomination to be the next FBI director on Capitol Hill in Washington, U.S., July 12, 2017. REUTERS/Aaron P. Bernstein WASHINGTON, DC - JULY 18: Christopher Wray, President Trump's nominee to lead the FBI walks through the Senate subway at the US Capitol on July 18, 2017 in Washington, DC. (Photo by Mark Wilson/Getty Images) WASHINGTON, DC - JULY 13: U.S. Sen. Mark Warner (D-VA) (L) meets with FBI Director nominee Christopher Wray (R) on Capitol Hill July 13, 2017 in Washington, DC. If confirmed, Wray will fill the position that has been left behind by former director James Comey who was fired by President Donald Trump about two months ago. (Photo by Alex Wong/Getty Images) WASHINGTON, DC - JULY 13: U.S. Sen. Mark Warner (D-VA) (L) meets with FBI Director nominee Christopher Wray (R) on Capitol Hill July 13, 2017 in Washington, DC. If confirmed, Wray will fill the position that has been left behind by former director James Comey who was fired by President Donald Trump about two months ago. (Photo by Alex Wong/Getty Images) UNITED STATES - JULY 12: Christopher Wray, nominee for FBI Director, testifies during his Senate Judiciary Committee confirmation hearing in Dirksen Building on July 12, 2017. (Photo By Tom Williams/CQ Roll Call) UNITED STATES - JULY 12: Christopher Wray, nominee for FBI Director, prepares for his Senate Judiciary Committee confirmation hearing in Dirksen Building on July 12, 2017. (Photo By Tom Williams/CQ Roll Call) Up Next See Gallery Discover More Like This HIDE CAPTION SHOW CAPTION of SEE ALL BACK TO SLIDE

During a passionate, two-minute-long defense, Wray described the FBI as "respected and appreciated by our partners in federal, state, and local law enforcement, in the intelligence community, and by our foreign counterparts in both law enforcement and national security in something like 200 countries around the globe."

More from :

Trump attorney says FBI, DOJ ‘conflicts’ require second special counsel

18 crucial days: What did the president know and when did he know it?

Justice Dept. releases text messages from anti-Trump FBI agent, lawyer who were having affair