BALTIMORE — Baltimore police Officer Edward Nero has been found not guilty of all charges for his part in the events leading to the death of Freddie Gray. Judge Barry Williams announced his decision Monday after a bench trial. Nero was charged with second-degree intentional assault, two counts of misconduct in office and reckless endangerment.

The line of questioning by Judge Williams during trial last week signaled the final outcome. He strongly challenged prosecutors’ claim that the takedown and subsequent arrest of Gray without probable cause amounted to a criminal assault.

The verdict in the bench trial came more than a year after Gray’s death on April 19, 2015, became a symbol of the black community’s distrust of police and triggered days of violent protests. Gray was black. Three of the officers charged are white, three are black.

Closing arguments in the trial of Police Officer Edward Nero — the second officer to be tried — concluded Thursday.

Community leaders and elected officials have appealed for calm.

The citizens of Baltimore had demanded justice, they said, and that process is playing itself out.

“Whatever may be Judge Barry Williams’ decision with respect to Officer Nero’s role in the death of Mr. Freddie Gray, that verdict will have as much legitimacy as our society and our justice system can provide,” Maryland Congressman Elijah Cummings said last week.

“I join the mothers, the fathers, the children … of Baltimore asking not only for peace but respect for the rule of law.”

Nero was charged with second-degree assault for allegedly touching Gray during an arrest that prosecutors said was illegal; and with two counts of misconduct; and reckless endangerment for not putting a seat belt on Gray when he put the prisoner in a police van.

Gray died from spinal injuries after being shackled without a seat belt in the van.

Williams aggressively questioned prosecutors about their assertion that Nero and other officers assaulted Gray by touching him without reasonable suspicion or probable cause.

Prosecutor Janice Bledsoe argued that searching and handcuffing Gray constituted an assault.

“You are saying an arrest without probable cause is a misconduct-in-office charge — is a crime?” the judge asked. “So you say if you arrest someone without probable cause, it’s a crime?”

“Yes,” Bledsoe responded.

Williams at one point said: “If you touch someone, it could be assault, it could be a hug.”

Michael Schatzow, chief deputy state’s attorney, later told the judge that “not every arrest that occurs without probable cause is a crime.” But he added that arrests in which the actions of the officer “are not objectively reasonable” are criminal.

The prosecutor said Nero and his partner turned a routine stop based on reasonable suspicion of a crime into a full-blown arrest requiring probable cause.

In her closing, Bledsoe cited statements in which Nero and his partner both used the word “we” to describe putting Gray on the ground and handcuffing him.

Nero’s partner, Officer Garrett Miller, testified that he detained Gray himself. The state compelled Miller — who’s awaiting trial — to take the stand against Nero with immunity, meaning his testimony cannot be used to incriminate him at his trial.

Bledsoe also told the court that Nero ignored a general order for officers to secure suspects in vans with seat belts.

Defense attorney Marc Zayon said in his closing argument that Nero acted legally and that handcuffing someone who ran from the police was “the right thing to do.”

Zayon said Nero and Miller used the term “we” because they considered themselves a team.

The only time Nero touched Gray was when the suspect asked for his inhaler, Zayon said.

The defense argued there was no proof Nero had read an email about the seat belt order, and that the state had failed to show he had a duty to secure Gray. Zayon said it was the responsibility of the van driver to put a seat belt on the prisoner.

Nero was one of three bike officers involved in the initial police encounter with Gray that day in April 2015.

Prosecutors have said that Gray complained of having trouble breathing and asked for medical help as he was driven in the van. When he arrived at a police substation, he was unconscious.

A week later, Gray died at a hospital from his spinal injury.

Four officers have yet to stand trial — Miller, Lt. Brian Rice, Sgt. Alicia White and Officer Caesar Goodson Jr.. The trial for Goodson, the van driver, will start June 6.

The case against William Porter, the first officer to go on trial, ended in a mistrial in December after jurors couldn’t agree on a verdict.

CNN’s Kristina Sgueglia contributed to this report.

This is a developing story.