Updated

New York City police say two men who wanted to buy boots, winter coats and other gear for Taliban fighters have been arrested on state-level terrorism charges.

Police say Humayoun Nabi (HOOM'-uh-yoon NAH'-bee) and Ismail Alsarabbi (IHSH'-may-ehl ahl-suh-RAH'-bee) were busted after a two-year investigation that involved confidential informants and undercover detectives.

Authorities announced the arrests Thursday. The two men appeared in a Queens court earlier this week on charges of providing support for an act of terrorism and conspiracy.

Lawyers for both defendants say their clients were victims of entrapment.

Police say they bought samples of winter gear to try out but hadn't sent them overseas yet.

Police say the suspects believed the key to beating U.S. forces overseas was through properly outfitted Taliban soldiers.