A prosecutor in Virginia said Tuesday that the fatal police shooting of a man during a May traffic stop was justified and that the officers involved will not face charges.

On May 17, Arlington police officers learned that a wanted man, 28-year-old Daniel George Boak, of Centreville, Va., was driving south on a highway in a Ford F-150, according to a letter from the Office of the Commonwealth’s Attorney for Arlington County and the city of Falls Church.

In heavy rush-hour traffic, officers attempted to stop Boak, who was alone in a vehicle, and told him to throw his car keys out a window, the letter said. But Boak eluded the officers, speeding away on the shoulder of I-395 and leaving the highway at Glebe Road, where he got stuck in traffic on an exit ramp, according to the letter.

A prosecutor said two officers approached Boak’s Ford from the front and ordered him to show his hands, but he did not comply and tried to ram the vehicle into one of the officers, pinning her against another vehicle until she fired at him. The other officer also opened fire, according to prosecutors; Boak was hit four times and died about an hour later at a hospital.

Blood samples taken during an autopsy showed that Boak, who had previously been convicted of drug violations, reckless driving and eluding police, had cocaine and morphine in his body at the time he was shot, and drugs and drug paraphernalia were found in his car, prosecutors said. At the time of his death, he was wanted by Virginia State Police after allegedly attempting to falsify a drug test.

“I conclude that the use of deadly force by the officers was justified,” Commonwealth’s Attorney Theo Stamos wrote in the letter. “I consider this matter closed.”