A D.C. police officer shot and killed a man near an Anacostia tavern yesterday in an exchange of shots that followed an attempt to arrest the man on a charge of drinking in public, police reported.

Police said the man was shot a few minutes before 6 p.m. by Seventh District officer James M. Schaffer, 24, after the man fired at Schaffer with a revolver he seized from Schaffer's partner, officer Maureen Walsh, 27.

Mack L. Bradley, 29, of 2674 Fourth St. NE was pronounced dead at the scene, the 1100 block of Good Hope Road SE, police said.

According to accounts of police and a witness, Bradley, who was in an alleyway parking area next to Terrell's tavern at 1111 Good Hope Rd., was apparently drinking from a container wrapped in a paper bag.

Area resident said the alleyway, near the intersection of Good Hope Road and Martin Luther King Jr. Avenue, is a kind of neighborhood gathering place where beer is sometimes consumed.

Police said Walsh and Schaffer left their patrol car and attempted to place Bradley under arrest. A struggle began, police said, and as a crowd gathered about them, Bradley grabbed Walsh's service revolver from its holster.

Walsh jumped behind the patrol car, shouting to Schaffer that Bradley had her gun. Bradley fired one shot from the revolver, police said.

The bullet struck Schaffer, but glanced off a bullet-proof vest he wore.

Schaffer fired six shots, and at least one struck Bradley in the head, authorities said. He was pronounced dead where he fell. His body was taken to the D.C. Morgue.

Schaffer was taken to Washington Hospital Center, and released after treatment for a superficial wound to the abdomen, officials said.

A lieutenant at the Seventh District estimated last night that about half the 50 officers in his section wore bullet-proof vest. Walsh was not believed to be wearing one.

Schaffer was placed on routine administrative leave with pay pending an internal police investigation of the shooting.