The family of the man identified as the gunman released a statement saying Hussain suffered from mental health problems.

"We are at a terrible loss for words but we must speak out to express our deepest condolences to the families who are now suffering on account of our son's horrific actions. We are utterly devastated by the incomprehensible news that our son was responsible for the senseless violence and loss of life that took place on the Danforth. Our son had severe mental health challenges, struggling with psychosis and depression his entire life. The interventions of professionals was unsuccessful. Medications and therapy were unable to treat him. While we did our best to seek help for him throughout his life of struggle and pain, we could never imagine that this would be his devastating and destructive end. Our hearts are in pieces for the victims and for our city as we all come to grips with this terrible tragedy. We will mourn those who were lost for the rest of our lives," the statement read.

AP

Police work the scene of a shooting in Toronto on Sunday, July 22, 2018.

The shooting has left Toronto in mourning.

"My thoughts are with everyone affected by the terrible tragedy on the Danforth last night in Toronto, and may the injured make a full recovery," Canadian Prime Minister Justin Trudeau tweeted Monday morning. "The people of Toronto are strong, resilient and brave - and we’ll be there to support you through this difficult time."

My thoughts are with everyone affected by the terrible tragedy on the Danforth last night in Toronto, and may the injured make a full recovery. The people of Toronto are strong, resilient and brave - and we’ll be there to support you through this difficult time.

Police are photographed at the perimeter of the scene of a mass shooting in Toronto on July 23, 2018.

Choking back tears, Toronto Councillor Mary Fragedakis said to the city council Monday morning, “This is so heartbreaking. The victims and their loved ones are in my thoughts and prayers. I cannot imagine what they are going through, the pain, the loss."

The area has always part of her home and her life, she said.

"As we mourn, cherishing and caring for those in our lives may help with the pain," she said, overcome with emotion.

Toronto Mayor John Tory, speaking at the overnight news conference, acknowledged the Canadian city’s problems with gun violence.

"We still live in a great city,” he said, “but we have to be ever more vigilant about this kind of things.”