Before they ate the food they took in a gunpoint holdup of a pizza deliveryman, the robbers took a picture of it, authorities said.

D.C. police later seized a cellphone, containing the picture of the stolen food, the U.S. Attorney’s Office for the District said.

Last week, two men pleaded guilty in Superior Court to charges connected with the robbery, which occurred last year in Northeast Washington, the prosecutor’s office said.

The U.S. Attorney’s Office gave this account of the robbery and the investigation that followed:

It was late on Dec. 27 when three men called a Papa John’s restaurant and placed an order for three pizzas, chicken wings and cinnamon bread, to be delivered to the neighborhood of Varnum Street and Sixth Place NE, an area just east of Catholic University and the Metro Red Line tracks.

When the delivery driver arrived about 10 p.m., three men — all of them wearing gloves and black ski masks and carrying loaded pistols — confronted him.

They took more than $200 in cash from him, his cellphone and the food.

Then they went into a house in the 4400 block of Sixth Place, where they took the picture and ate the food.

Two days later, officers with a search warrant went to the house. Along with the cellphone, they seized guns, ski masks and gloves.

Melvin Woodard, 19, and Rojay Ball, 18, both of the District, pleaded guilty May 9 to charges of armed robbery and carrying a pistol without a license, the prosecutor’s office said. It could not be learned what happened to the third robber.

Sentencing is scheduled for July 20.