The Alexandria police officer who was shot in the head during a traffic stop Wednesday is lucky to be alive, a doctor said.

Officer Peter Laboy, a 17-year veteran of the police department, remained in critical condition Thursday afternoon.

Dr. Janis Orlowski, the chief medical officer at Washington Hospital Center, said that Laboy had not regained consciousness but had moved his arms and legs.

Laboy was shot after he had pulled over a taxi in Old Town. The cab's driver, 27-year-old Kashif Bashir, was arrested after police chased the vehicle and the taxi crashed.

Bashir, of Woodbridge, was charged with malicious wounding of a law-enforcement officer and using a firearm during the commission of a felony. He is being held without bond and has a preliminary hearing scheduled for April 10, according to court records.