Mayor John Tory is recognizing the Toronto officer murdered in Monday’s shooting rampage as a hero.

Tory visited Toronto police’s headquarters Friday morning to sign a book of condolences for Const. Andrew Hong, who was killed at a Tim Hortons in Mississauga when a gunman shot him at point-blank range.

“I came both as an individual because I'm a Torontonian like everybody else and I felt that as a person that I wanted to express my sympathy particularly to his family, and this is one way in which we can record that and to the police family as well. But of course, I also come as mayor,” Tory told reporters after signing the book.

Hong, 48, worked for the Toronto police force for the past 22 years and is survived by his wife, two teenage children and parents.

“I indicated in the note, first and foremost, that Constable Hong was and is a hero, and then went on to say that I was here as a person to express my sympathy to his family, but was also here as mayor on behalf of the people of the City of Toronto who often can't find their way here to express those sympathies,” Tory said.

In a detailed news conference yesterday, police said the suspect was at the coffee shop for about two hours and 15 minutes prior to the shooting, and was “looking for a police officer.”

“At this point I believe the motive was that he was a uniformed officer and he was deliberately targeted,” Peel police Det. Michael Mavity said.

After Hong’s murder, the suspect shot and carjacked another victim, who suffered life-altering injuries, and then drove to MK Auto Body Repairs in Milton.

The gunman proceeded to shoot and kill his former boss, 38-year-old Shakeel Ashraf, and wounded two others. One of those victims, a 28-year-old international exchange student, is not expected to survive, police said.

The suspect was eventually located in Hamilton and was pronounced deceased after an exchange of gunfire with police. The province’s police watchdog is investigating.

The gunman has been identified as 40-year-old Sean Petrie, of no fixed address.

Tory says he has been in contact with Hong’s family and “they’re doing as well as can be expected.”

“You can imagine, you know, you wake up one day and that morning your husband and son and father goes out to work and later that same day you find out that he's been killed in the line of duty. It's hard to even fathom that,” he said.

He added that police officers across the GTA are coping with the tragedy and are thankful for the condolences they’re receiving.

“I just think they're grateful for the fact that they can feel from the people, from the officials, like myself, and from their colleagues an understanding of how traumatic this is for them to lose someone that's part of the fabric of their organization,” he said.

One book of condolences for Hong is available at Traffic Services, located at 9 Hanna Avenue, between Sept. 15 to Sept. 20 from 8 a.m. to 8 p.m.

Another book is available at Toronto Police Service Headquarters, located at 40 College Street, on Sept. 16 from 7 a.m. to 9 p.m., on Sept. 17 and 18 from 9 a.m. to 5 p.m., and on Sept. 19 and 20 from 7 a.m. to 9 p.m.

A private funeral service for Hong will be on Wednesday, Sept. 21 at the Toronto Congress Centre.