Former New York City Mayor Rudy Giuliani appeared on "Your World" to weigh in on the recent wave of attacks on police officers and the situation in Baltimore.

"They lost their lives because they were out there on the streets trying to protect you and me," Giuliani said of the two officers who were murdered in Hattiesburg, Mississippi. "When they lose their lives, there's a real attack on civilization and law and decency."

Giuliani said that the targeting of police officers and all the negative media attention law enforcement receives will lead to the average cop holding back in the line of duty.

"I'm not going to go out tonight and patrol the streets of New York, protecting you and me and my children and your children. But a bunch of other guys are," Giuliani said. "And if they lose their lives doing that, that should be a major, major event."

Giuliani also weighed in on the situation in Baltimore, saying that it appears the six officers charged in Freddie Gray's death were "pre-judged."

He called for a change of venue and stated that there's no way that the officers will get a fair trial in Baltimore.

Neil Cavuto pointed out that if they are exonerated, there will likely be more riots.

How would you deal with that if you were mayor? Cavuto asked.

"There just wouldn't be a riot," Giuliani stated. "Like to make me mayor of Baltimore? There wouldn't be a riot."

"I would have so many police there, you couldn't possible have a riot. Minute you threw a rock, you'd be arrested. Minute you threw a stone, you'd be arrested. Minute you tried to burn something, you'd be arrested."

Watch more from Giuliani in the "Your World" clip above.

You might also be interested in ...

Giuliani: Blaming Police Is a 'Political Dodge'

Giuliani: Hillary Clinton's Biggest Liability is Her 'Trustworthiness'

Giuliani: I Don't Want to See Nuclear Button Put in Hands of a Maniac

Hattiesburg Mayor on Slain Police: 'My Community Is Devastated'