Police say that when the officer tried to intervene, the attacker turned toward him with a gun. Thomas, who was off-duty and in plain clothes, identified himself as an officer and ordered the other man to drop the gun. When he did not, police say Thomas shot him.

The suspect, identified as Ronald Delonte Royal of Accokeek, was pronounced dead at a hospital.