Investigators have identified the two men who found a travel bag containing an unexploded bomb on a Manhattan street this month, a few blocks from where a bomb exploded, two law enforcement officials said.

The identity of the men has been one of many outstanding questions as the Federal Bureau of Investigation, the New York Police Department and other agencies investigate the bombings that struck the Chelsea neighborhood and a town on the Jersey Shore on Sept. 17.

The two officials were not authorized to speak publicly about the investigation.

According to one of the officials, the two men, aged approximately 35 and 42, were from Egypt and have since returned there. The possibility that they were not local residents was one theory authorities had offered last week as they searched for the men.

CNN reported earlier on Wednesday afternoon that the F.B.I. had determined the men’s identities and their whereabouts.