NEW YORK - A New York City man under investigation for his links to a terror suspect has pleaded not guilty to charges that he flew to Pakistan to get military training from al Qaeda.

Adis Medunjanin was arraigned Saturday on charges of receiving military training from a foreign terrorist organization and conspiracy to commit murder in a foreign country.

The 25-year-old Bosnian immigrant was one of two Queens men arrested early Friday in connection with the investigation of Najibullah Zazi, a Colorado airport driver who pleaded not guilty last year to supporting terrorism.