US president Donald Trump said Nidal Hasan’s execution could be viewed in person by the victims’ immediate family members if they wanted to. (EPA Images pic)WASHINGTON: The firing squad execution of a convicted military base shooter will not be livestreamed, US president Donald Trump announced Thursday, canceling a contentious plan by defense secretary Pete Hegseth.

The move to livestream Nidal Hasan's execution was widely opposed at home and abroad, prompting outrage from both US Democratic and Republican politicians, the Catholic Church, rights groups and the UN.

The cancellation is a blow to Hegseth, who is already under fire over the stalemated Iran war and its fallout, which are weighing on the Republican Party's chances in upcoming midterm elections.