A Missouri police officer was shot in the neck during a Friday morning traffic stop, according to reports.

The St. Louis Post-Dispatch reported the Ballwin police officer was transported to a St. Louis hospital for treatment. The officer is in critical condition.

Sources told the newspaper that the officer was shot at least once from behind. At least three shots were fired at the officer.

St. Louis County Police Chief Jon Belmar said the shooting occurred at around 11:10 a.m. when the officer was conducting a traffic stop on a speeding motorist.

When the officer was walking back to his cruiser following the stop, the driver got out, "advanced quickly" and fired three shots at the officer, police told reporters Friday afternoon.

"Make no mistake, we believe that Ballwin officer was ambushed," Belmar said.

St. Louis County police tweeted that the shooting suspect has been captured, and his weapon recovered.

"We are handling the investigation but have no further details at this time," the tweeted stated.

Ballwin police shooting suspect in custody. Weapon recovered. We are handling the investigation but have no further details at this time. — St. Louis County PD (@stlcountypd) July 8, 2016

The suspect was captured several miles from the scene after a foot chase, according to the Post-Dispatch. The vehicle the suspect was believed to be driving, a, older-model blue Ford Taurus with an Illinois temporary license plate, was located.

The name of the 32-year-old suspect has yet to be released. He had previous weapons charges out of California and St. Louis. He was charged with stealing a vehicle in Oklahoma in 2011.

Ballwin, with a population of 30,000, is located in west St. Louis County.

This is breaking news and has been updated multiple times.