Prince George’s County police have arrested two men who they say forced their way into a Seat Pleasant area townhome Wednesday morning in an incident that culminated when an officer fired at one of them, authorities said Thursday.

Adrian E. Pitts, 22, and Afolabi Ijaoba, 19, both of Capitol Heights, are charged with armed robbery and related counts in the incident, which began about 9 a.m. at a home in the 6900 block of Opal Place, authorities said. Pitts was ordered held without bond, and Ijaoba was ordered held on $70,000 bond, police said.

Neither was struck by the officer’s gunfire, police said.

Adrian E. Pitts (( Prince George's County police))

Police said the men are believed to have forced their way into the home, intending to rob it. Two Prince George’s police officers were called to the scene while the men were still inside, police said.

Police said one officer stood at the home’s front door, and another went around back. That officer encountered a man leaving, and she fired her weapon at him, said Lt. William Alexander, a Prince George’s police spokesman. The man, who police identified as Ijaoba, was not hit and fled the scene but was located by officers searching the area a short time later, Alexander said.

Afolabi Ijaoba (( Prince George's County police))

Pitts, Alexander said, went back into the home and was arrested there, Alexander said.

Police said they recovered three guns at the scene and are working to determine who they belonged to. Police have said they believe Pitts and Ijaoba targeted the townhome specifically; a law enforcement official, speaking on the condition of anonymity to candidly discuss the investigation without fear of being disciplined, said detectives were investigating possible drug activity there.

Police have not yet identified the officer who fired. She has worked for the department for six years and has been placed on paid administrative leave while internal affairs detectives probe the incident — standard procedure in cases in which officers fire their weapons, authorities said.