A Prince George’s County police officer was shot and wounded and police wounded another male Wednesday night during an encounter with a group of men in the Chapel Oaks area.

The shooting happened on Marblewood Avenue near Reed Street about 10:40 p.m., said Cpl. Henry Tippett, a spokesman. The officer was wounded in the arm and the other man wounded in the incident was also believed to have been shot in the arm, Tippett said.

Both the officer and the other man were taken to hospitals with injuries that were not believed to be life threatening.

The officer is a member of a special police team that was on patrol to investigate suspicious activity in the area. The unit encountered four men engaged in what police believed was “suspicious activity” and police stopped them, Tippett said.

At some point during the encounter, one of the men opened fire at the uniformed officer. Another officer then fired and wounded one of the men in the group.

It was not immediately clear whether the wounded man had fired a gun, Tippett said. Police would not comment on whether a weapon was recovered at the scene.

All four men in the group were taken into custody, Tippett said. Their ages were not immediately available.

Police continue to investigate the shooting.