A suspect was killed and a police officer was shot in the leg Wednesday night in a shootout in Northwest Baltimore, police said.

Officers were driving through the 3700 block of Oakmont Ave. about 7:45 p.m. when they saw the 32-year-old man with a gun, police said. They confronted him, and the gunman and at least one officer exchanged fire, police said.

Police did not name the gunman. Police said the officer, a five-year veteran of the department, was being treated at a hospital, reports the Baltimore Sun.