The man who set off pressure cooker bombs in New York and New Jersey in 2016 has been sentenced to life.

Ahmad Khan Rahimi injured 30 people when he set off a bomb in Manhattan.

The Afghan-born US citizen, who was captured after a shootout with police, told the court that he does not "harbour hate for anyone".

According to federal prosecutors, the 30-year-old has not shown remorse and has attempted to radicalise others in prison to support Islamic State.

Rahimi, known to many as the "Chelsea bomber", was convicted in 2017 October on all eight counts brought against him in court, including the use of a weapon of mass destruction and bombing a public place.

New York Governor Andrew Cuomo said in a statement "justice has been served".

"The sentencing will not heal the pain and suffering that this despicable act caused New Yorkers, but it sends a strong message that we will not tolerate those who seek to sow fear, hate and violence."

On the morning of 17 September 2016, Rahimi left his home in Elizabeth, New Jersey with several homemade bombs.

The first bombing location he chose was along the route of a Marine Corps charity race in Seaside Heights, New Jersey.

Due to a last-minute change to the race schedule, no people were injured when that pipe bomb detonated.

Investigators said Rahimi then planted two bombs in the Chelsea neighbourhood of New York but one failed to detonate.

Other remaining devices were left in a discarded rucksack in a rubbish bin at a train station in New Jersey on the day after the weekend attack.

The trial in October heard that Rahimi's fingerprints and DNA were discovered on both bombs laid in New York City.

Jurors also saw CCTV footage of the suspect walking the Manhattan streets to where the bombs were placed.

Rahimi was arrested two days after the attacks following a shootout with police in New Jersey, which left him in hospital for weeks.

Prosecutors said that Rahimi had started following terrorist propaganda in 2012 and had tried to influence his fellow inmates since arriving in prison, including sharing speeches from deceased al-Qaeda leaders Anwar al-Awlaki and Osama bin Laden.

Rahimi had pledged silence at his trial in a letter to an "associate" in Germany, prosecutors said, but he did not follow through with this.

"Their hands are already drenched with Muslim Blood and how will they understand our struggle," Rahimi wrote, according to prosecutors.

His father, who reported him to the FBI two years ago, called him a terrorist in an interview with NBC.

The sentence of multiple life terms means Rahimi is likely to never leave jail.