Attorney General Jeff Sessions warned Friday that bad-mouthing police officers could lead to dangerous consequences for the safety of Americans around the country.

"You know the usual script: They take one or two bad examples and say they represent the hundreds of thousands of police officers who serve around the country," he said in remarks to Alabama's Law Enforcement Coordinating Committee. "This is wrong, and it's a slander of the honorable men and women in law enforcement. This slander has got to stop — and it's got to stop right now."

"It discourages cooperation with you, making us less safe. And it can even encourage violence," Sessions said, pointing out the deaths of more than 65 officers last year in the line of duty, in increase from 2015.

Both Sessions and President Trump have praised police repeatedly, and this week, Sessions eliminated restrictions on the police access to military-style equipment and weapons imposed by President Obama.