Keyon Taylor, 21, of Boston, was taken into custody near Blue Hill Avenue at 1:18 a.m., officials said. He and Maurice Williams Miner-Gittens, 23, were charged in connection with the Dec. 20 incident, federal officials said.

While a letter carrier was delivering holiday packages, Taylor allegedly jumped into the postal truck and put a pistol to the letter carrier's head.

The letter carrier was shot in the wrist and beaten with the pistol. Officials allege Taylor took the letter carrier's keys and started to drive the postal truck. The victim escaped by jumping out of the back door of the truck and running away.

Officials said Gittens was the renter and driver of a U-Haul van that was used during the attempted robbery, which had the letter carrier's blood on the outside.

Gittens and Taylor are being charged with conspiracy to rob, attempted robbery and kidnapping of a federal employee.