TORONTO -- A 34-year-old man has been charged with attempted murder after a shooting in Richmond Hill that resulted in an hours-long standoff between police and the suspect.

York Regional Police say the suspect barricaded himself at a Richmond Hill residence Friday night after he allegedly opened fire at an officer during a traffic stop twelve hours earlier.

Shots were fired in the area of Bayview Avenue and Major Mackenzie Drive at around 10:30 a.m. The shooting resulted in no injuries, but left multiple vehicles damaged.

Investigators said it is not clear on how many shots were fired, and the suspect had fled the scene in a vehicle.

Police said the man then went inside a residence on Elmwood Avenue, and after hours of negation, shortly after 10 p.m., the suspect was placed under arrest.

Neighbour Dianne King said police used her home for surveillance. She said there were more than 50 officers were in the area Saturday, as well as two bomb-diffusing robots.

Thank you to our community, media and the @TorontoPolice Emergency Task Force for your patience, professionalism and assistance during yesterday's lengthy incident on Elmwood Avenue in Richmond Hill. For an update on charges laid click the link --> https://t.co/6lVOoFN3a2 — York Regional Police (@YRP) December 28, 2019

“At first I was nervous. But I had more police on my property, there was no one coming at us," she said. “Once I knew they had everything under control I felt pretty at peace."

The Richmond Hill resident is facing more than 10 charges, included attempted murder, careless use of a firearm, assault with intent to resist and dangerous driving.

The suspect is expected to appear in court on Jan. 2, 2020.