New York - For the second time, an Albanian man living in New York was been sentenced to prison after admitting he tried to support terrorists in Pakistan.Agron Hasbajrami, 31, was sentenced Thursday in US District Court in Brooklyn to 16 years in prison under a plea deal that allows for his guilty plea to be vacated if a federal appeals court decides to suppress evidence from warrantless surveillance used in a National Security Agency's secret surveillance program.Hasbajrami also admitted sending more than $1 000 in wire transfers to support terrorist activities in Pakistan and Afghanistan, prosecutors said in a press release on Thursday. They said he exchanged emails with someone in Pakistan who identified himself as a member of an insurgency group that murdered American soldiers.In one email, Hasbajrami "stated that he wished to travel overseas, using jihadist rhetoric to describe his desire to die as a martyr", prosecutors say.Judge's decision Hasbajrami was arrested in September 2011 at John F Kennedy International Airport after buying a one-way airline ticket to travel to Turkey. He pleaded guilty in 2012 and was sentenced to 15 years in prison for trying to travel to Pakistan the previous year to join a radical jihadist insurgent group.While in prison, he was notified by the federal government that some evidence against him had been gathered from the surveillance programme. He withdrew his plea and asked a judge to have the evidence suppressed, arguing that it was collected without a warrant.Federal Judge John Gleeson denied his request, and Hasbajrami pleaded guilty again in June on the condition that his plea would be vacated if the 2nd US Circuit Court of Appeals overturned the judge's decision."This case, like many others before it, has shown that the application of lawful surveillance can allow the United States government to detect and neutralise a terrorist in the United States," said Kelly Currie, acting US Attorney for the Eastern District of New York.Hasbajrami's attorney, Steve Zissou, did not immediately respond to a request for comment.