A Bladensburg man has been charged with first- and second-degree assault after a police-involved shooting in Prince George’s County on Sunday, authorities said.

Ivanilov Tembi Fomukong, 22, was shot in the leg during the incident and is recovering at a local hospital, police said.

The incident began shortly before midnight Sunday, police said. A patrol officer was parked in the 5400 block of Annapolis Road when Fomukong knocked on the window and then spit into the officer’s marked cruiser, according to a statement from Prince George’s County police. Fomukong was “speaking incoherently,” police said.

When the officer got out of the car, he saw Fomukong had a large butcher’s knife, authorities said. After a Tazer did not subdue Fomukong, the officer, “fearing for the safety of himself and officers on the scene,” fired his pistol and hit Fomukong in the leg.

No officers were injured during the incident and the police department is investigating the matter. The officer who fired his weapon, a 16-year veteran of the department, is on routine administrative leave.

Get updates on your area delivered via e-mail.