Boston Marathon bomber Dzhokhar Tsarnaev wants his death sentence overturned, claiming he didn’t receive a fair trial.

A federal court of appeals in Boston on Thursday heard from Tsarnaev’s lawyers, who claim their client couldn’t have received an impartial trial in a city still reeling from the 2013 attack, which killed three people and injured more than 260.

“This case should not have been tried in Boston,” the lawyers wrote in their legal brief.

“Tsarnaev admitted heinous crimes, but even so —perhaps especially so — this trial demanded scrupulous adherence to the requirements of the Constitution and federal law. Again and again this trial fell short.”

Tsarnaev, now 26 and in custody at a supermax prison in Colorado, was not at the hearing, which included opening arguments for each side.

Tsarnaev was 19 when he placed two pressure-cooker bombs at the finish line of the marathon with his older brother, Tamerlan Tsarnaev, who was killed by authorities following a four-day manhunt.

At trial, Tsarnaev’s lawyers argued for a life sentence rather than death. They wanted to show that Tamerlan was the mastermind behind the attack and that Dzhokhar just followed along.

Tsarnaev’s lawyers also complain that Judge George O’Toole excluded evidence suggesting that Tamelan had committed a triple murder in Massachusetts in 2011, which he’d allegedly called “an act of jihad.”

His lawyers argued that at least two jurors lied about what they knew about the attack.

In one instance, a juror tweeted dozens of times in the aftermath of the bombings, including one about Tsarnaev’s arrest that read: “Congratulations to all of the law enforcement professionals who worked so hard and went through hell to bring in that piece of garbage.”

Prosecutors maintain that his conviction and sentences were lawful.

“Tsarnaev received a fair trial in Boston, and the district court did not abuse its discretion by refusing to move the trial elsewhere,” they wrote. “The jurors who tried and sentenced Tsarnaev were unbiased.”

Judges on the 1st U.S. Circuit Court of Appeals in Boston are expected to make a decision at a later date.

If Tsarnaev’s sentence is overturned, prosecutors could seek a new trial or allow the life sentence. If the sentence is upheld, Tsarnaev’s lawyers have other options for appeals, including to the Supreme Court.

With Post wires