Story highlights "The President of the United States has your back, 100%," Trump said

Earlier Friday, Trump slammed another group of law enforcement -- the FBI

(CNN) President Donald Trump praised law enforcement on Friday when he addressed a graduation at the FBI National Academy on Friday in Quantico, Virginia for state, local and international law enforcement trainees.

Trump cast himself as the best friend law enforcement could have in the White House, praising local law enforcement as "really heroes to all of us."

At times, Trump lumped FBI agents in with his praise, despite the fact that he has said the FBI is in "tatters" and urged FBI Director Christopher Wray to "clean house."

Before he spoke at the graduation ceremony, Trump acknowledged his anger at the bureau, saying that "when you look at what's gone on with the FBI and with the Justice Department, people are very, very angry."

At the ceremony, though, Trump took a different tone.

Read More