A man who was shot by an Anne Arundel County police officer while allegedly wielding a knife Friday is facing charges of assault, officials said Saturday.

The man — who the Prince George’s County fire department said was one of its volunteer firefighters — remained under heavy guard at a hospital, where he appears to be recovering from his wounds, said Sgt. Jacklyn Davis, an Anne Arundel County police spokeswoman.

Davis said the man’s identity will not be disclosed until he is released from the hospital and processed on seven counts each of first-degree assault, second-degree assault and reckless endangerment. A Prince George’s fire department spokesman also declined to release his name.

The incident occurred Friday around 9:45 p.m. after a pedestrian accident had been reported on Route 50, near Davidsonville Road. When rescue workers arrived, the man “came at them with a knife,” Davis said.

After police arrived and ordered him to drop the weapon, a county officer fired a single shot, wounding the man, said Davis, who added that there were no signs of an actual pedestrian accident at the scene.