A man is in hospital with serious injuries after a police-involved shooting in Newmarket early Tuesday morning.

Police say they received a call shortly after midnight reporting that a man had been seen firing a gun near an apartment building on Davis Drive near Lorne Avenue.

Upon arrival, police say they were confronted by a man armed with a gun who then advanced upon them.

Officers then discharged their firearms and the man suffered gunshot wounds, police say.

The 48-year-old was taken to Sunnybrook Hospital for treatment, according to an SIU release.

Witnesses at the scene described hearing gunshots after police warned the man to put his gun down.

“I was sleeping… and then I heard a voice. I don’t know all the words but then, right away, four gunshots like right after the other," said Melissa Shaffa, a resident of the neighbourhood.

"After that, sirens, helicopter, all out chaos I guess you could call it."

An 88-year-old woman, who lives in an apartment complex close to the scene of the shooting, told CP24 that a bullet actually came through her window.

“Thank God I was not out (in the living room),” Gerry Sterling said.

Sterling said the building has otherwise been safe.

“It is a good condo," she said.

No officer was wounded in the shooting.

The Special Investigations Unit has invoked their mandate and is investigating the circumstances surrounding the shooting.

"Right now we are just waiting for them (the SIU) to process this scene," Sgt. Clint Whitney told CP24 Tuesday morning. "York Regional Police will also conduct a parallel investigation and will send our investigators in once the SIU has done what they need to do."

The SIU is an arm’s length agency called in to investigate whenever police are involved in a death or serious injury.

The SIU has assigned five investigators and three forensic officials to probe the circumstances of the incident.

Anyone who may have witnessed this incident is asked to contact the lead investigator at 416-622-1806 or 1-800-787-8529 extension 1806.

Remember for instant breaking news follow @cp24 on Twitter.