Samuel Opoku, the man accused of dumping buckets of feces on people in Toronto last month, will stay out of jail as he awaits his trial.

The court released him after a bail hearing Wednesday afternoon.

Opoku, 23, is facing five counts each of assault with a weapon and mischief.

He was brought in court in handcuffs wearing an open blue shirt over an orange undershirt, with dark grey pants and blue and white sneakers.

He has remained in custody since his arrest last month.

A publication ban has been imposed on details presented in court, as it typical in bail proceedings.

Opoku was released on $1,000 bail, with conditions that he not contact any of the victims, not possess weapons and not visit York University not come within 100 metres of the University of Toronto’s Robarts Library, where one of the attacks took place.

He was ordered to return to court Monday with a doctors note indicating he is taking required medical treatments.

During the hearing, Opoku mostly kept his head bowed as he sat in the detainee box. From time to time he stared across the courtroom, and briefly glanced at the TV at a display from the Crown.

Opoku was arrested a few days after a string of bizarre incidents in which police allege a man hurled buckets of “liquefied fecal matter” on unsuspecting bystanders.

Two of the attacks took place at U of T’s downtown campus, and a third occurred at York University.

After the hearing, Opoku’s lawyer Jordan Weisz told reporters he was “glad and relieved” that the judge accepted his plea to release his client as he awaits trial.

“We’re going to ensure everything is monitored,” he said about his client respecting the bail conditions.

Loading... Loading... Loading... Loading... Loading... Loading...

In his previous court appearances, Opoku’s case drew scores of public observers who filled the courtrooms with some standing outside — all keen to find out any information as to why someone would do what he is accused of.

Interest had significantly waned by Wednesday as only a handful of people, mostly students and members of the media, were there for the hearing.