Three men pleaded guilty in the District on Tuesday to charges based on robberies on the street and in the Metro system in which cellphones were taken, prosecutors said.

The prosecutors’ account of the robberies gave particularly specific details of how the items were stolen and what was done with them.

In addition, the prosecutors linked two of the men to an incident in which a woman’s car keys were taken from her and used later to take the car.

The U.S. attorney’s office for the District of Columbia said each of the men pleaded guilty in Superior Court to one count of robbery. However, as part of their plea agreement, prosecutors said, each admitted to participating in at least two of a series of four offenses.

The first was on Jan. 20, in the 1400 block of Pennsylvania Avenue SE. In the late morning, robbers stole a purse and keys from a woman who was about to enter her car. They fled the scene, but a week later, two men returned to the area with the keys and took the car, prosecutors said.

On Feb. 3, a smartphone was taken, along with a wallet, in the 1300 block of Q Street NW, near Logan Circle.

One of the robbers sold the stolen phone to an automated machine in Arlington County and received $300, the prosecutors said.

Two nights after the Logan Circle incident, three people were robbed at gunpoint at 19th Street and Constitution Avenue NE, and phones were again stolen, prosecutors said. They said the phones were taken to an abandoned house where they were “wiped,” meaning that personal information was removed.

A few days later, on Feb. 10, someone was using his smartphone in the L’Enfant Plaza Metro station when a robber grabbed it from his hand and someone else “got in his way,” prosecutors said.

When the victim tried to follow, a third person began punching him.

Again, the stolen phone was exchanged for $300 in cash at an automated machine in Arlington, the prosecutors said.

They said Anthony J. Doggett, 20, of Suitland, Desean Floyd, 19, of Oxon Hill and Dominique C. Jones, 20, of the District each pleaded Monday to one count of robbery.