A 28 year-old British military officer was one of two people shot outside a Kanata bar overnight.

Ottawa Police responded to a drive-by shooting in the parking lot next to a cluster of bars and restaurants at Kanata Centrum around 2:15 a.m. Thursday, Sept. 14, 2017.

The military officer was shot in the leg, and taken to hospital in serious but stable condition. His injuries are considered non-life threatening.

The officer is in Ottawa for a rifle contest being held at Shirley's Bay, according to Military Police.

A witness tells CTV News, he was at the Crazy Horse before the shooting. After he was injured he was being assisted at the bar, according to the man. 

"We were just inside and all of a sudden the security guards brought a guy in and laid him on the floor, they were trying to do CPR and cover the wound," said Dejan Pintar. 

A second man, a 22-year-old, was also shot. He suffered minor injuries. 

Ottawa Police confirm neither man was the intended target. They were struck during a drive-by shooting. 

Investigators are trying to determine what happened before the shooting.

Yellow police tape surrounded a van in the parking lot after the shooting. It was towed away from the scene just before 6 a.m.

The Guns and Gangs Unit is leading the investigation.