The man accused of stabbing four people at a Toronto office building appeared in court on Thursday, as detectives returned to the scene of the violence.

Chuang (Ray) Li, 47, faces three counts of attempted murder, four counts of aggravated assault and four counts of assault with a weapon.

Bail hearing for Chuang (Ray) Li

A bail hearing for Chuang Li was held over until Friday, April 11. He faces three charges of attempted murder, four counts of aggravated assault and four counts of assault with a weapon. (Alex Tavshunsky/CBC)

Li appeared in court only briefly on Thursday for a bail hearing, but his case was held over until Friday.

His wife was in court for the hearing, but declined to speak with reporters.

His charges relate to an alleged rampage that unfolded inside a fifth-floor office at 4110 Yonge St., near York Mills Road, on Wednesday morning.

On Wednesday, police reported that a stabbing had occurred when an employee was being fired.

Toronto police cruiser outside 4110 Yonge St.

Four people were injured in a stabbing at a Toronto office building on Wednesday, April 9. (Nathan Denette/Canadian Press)

Four people were taken to hospital. The injured were a 32-year-old woman and three men from 35 to 45 years of age.

All worked for Ceridian, a human resources company, which described the accused in a statement issued Wednesday as “a former employee.”

As of Thursday, police were still trying to speak with the people who remain in hospital.

With files from CBC's Travis Dhanraj, Steven D'Souza, Linda Ward, The Canadian Press and the AP