New York: A Pakistani man was sentenced by a US judge to 40 years in prison on Tuesday for plotting to bomb a shopping centre in England, as part of an Al Qaida plan to carry out attacks in Europe and the United States.

Abid Naseer, 29, had faced up to life in prison following his conviction by a federal jury in Brooklyn, New York, in March on charges including that he provided material support to the Islamic militant group.

Naseer, who at trial denied involvement with Al Qaida, sought leniency from US District Judge Raymond Dearie, saying he was “not nor have I been a career criminal.” But while Dearie gave Naseer a path to leaving prison someday, he said the evidence established his guilt.

“I know you’re not what I’d say for lack of a better word a ‘typical’ criminal. Not in any sense of the word,” Dearie said. “You’re a terrorist.”

James Neuman, Naseer’s lawyer, said he plans to appeal.

Naseer was first arrested in April 2009 in a British antiterrorism operation. British authorities never charged Naseer, but he was later indicted in the United States and extradited in 2013.

Naseer, who was raised in Peshawar, Pakistan and called himself a semi-professional cricket player, led an Al Qaida cell that plotted to bomb a shopping centre in Manchester, England, in 2009, prosecutors said.

The proposed bombing in Britain was part of an overall Al Qaida plot that included attacks against New York City’s subway system and a Copenhagen newspaper, prosecutors said.

Two men, Najibullah Zazi and Zarein Ahmedzay, have pleaded guilty to US charges stemming from the New York subway plot. A third, Adis Medunjanin, was sentenced in 2012 to life in prison.

Zazi testified at Naseer’s trial, supporting prosecutors’ claims that both men coordinated their plans through coded emails with an Al Qaida operative in Pakistan.

At trial, prosecutors used never-before publicised documents seized from the 2011 raid in Pakistan that killed Osama Bin Laden.

Prosecutors also called as witnesses British MI5 officers who conducted surveillance on him. They testified anonymously, wearing wigs and make-up to protect their identities.

Naseer denied the charges, telling jurors that “terrorism is not compatible with Islam.” But Assistant US. Attorney Zainab Ahmad told Dearie that “there is nothing in the record that gives us any hope he is any less committed to violence in the name of religion than at the time of his arrest.”