A 17-year-old boy has been charged with first-degree murder following what police say was a homicide early Sunday morning outside a branch of the Markham Public Library.

Officers found a 28-year-old man suffering from grave wounds outside the Markham Village Library, at Highway 7 and Markham Road, at around 3 a.m.

Investigators covered the spot where the man was found, still breathing but badly wounded, to protect the crime scene from the rain. (Courtesy Global TV)

He was still breathing and was taken to hospital by ambulance. He died shortly after from his injuries, which police said were likely the result of being stabbed.

Authorities identified the victim as Markham resident Allen Constance. An autopsy on his body is scheduled for Monday.

Later Sunday morning, police arrested the teenaged suspect and charged him with murder. He is slated to appear in youth court on Monday. Canada's Youth Criminal Justice Act forbids publishing his identity.