Two men who attended high school with a terrorism suspect accused of getting training in Pakistan were arrested Friday, months after federal authorities began investigating them as possible accomplices in a plot to bomb New York City.

Ahmedzay and Medunjanin were first publicly linked to the investigation in September, when investigators raided their homes shortly before the arrest of their old classmate Najibullah Zazi, an Afghan immigrant and Colorado airport shuttle driver. Authorities have been watching them for months.

Medunjanin’s attorney, Robert C. Gottlieb, previously confirmed that investigators had questioned Medunjanin and taken computers and cell phones from his apartment.

Prosecutors said that Zazi — charged with conspiracy to use weapons of mass destruction — had recently traveled to a terrorist training camp in Pakistan, and that “others” who have not been named accompanied him on the trip to the country.

Gottlieb said the FBI seized his client’s passport Thursday. The search warrant indicated the passport was sought as part of an investigation into the conspiracy, Gottlieb said.