Police are thanking the public for alerting them to the location of a man who escaped custody last month at Toronto General Hospital.

The man was considered violent and dangerous.

According to a Toronto police news release, officers located the man in the Dundas Street East and Parliament Street area around 6 p.m. Saturday after they were tipped off by a member of the public.

Officers spotted him leaving a building. He ran back inside and officers chased him, catching him as he broke a window and tried to jump through.

Police said the man then slashed at the officers with a piece of broken glass. When officers let go of him to avoid getting hurt, the man jumped through the window, fell to the ground and ran into another building.

He was arrested after a room-by-room search of that building.

Man appears in court

On Sunday morning, Const. David Hopkinson confirmed that Justin Yates, 39, had been arrested.

Yates will face new charges as a result of the escape, Hopkinson said. He was already facing charges when he escaped but it is not known why he was in custody at that time.

Police said Yates appeared at Old City Hall court on Sunday. He faces numerous charges related to his escape and subsequent arrest, including assaulting a police officer with a weapon.

ESCAPE CUSTODY: <br>Toronto General Hospital <br>-Justin Yates has been captured <br>-Expected to make court appearance <br>-Today or tomorrow <br>^dh —@TPSOperations

In the news release, police allege that he was able to escape from handcuffs and leg irons in the hospital.

Police also said at the time that Yates had a history of violence.