Nidal Hasan
Nidal Hasan, the Army psychiatrist who is charged with murder in the Fort Hood shootings, is seen in a booking photo after being moved to the Bell County Jail on April 9, 2010. Getty Images

The vast majority of Americans do not want to see the execution of former Army officer and mass murderer Nidal Hasan livestreamed. President Donald Trump on Thursday confirmed that won't happen in the end.

An ABC News/Washington Post/Ipsos poll found that about 80 percent of respondents did not think Hasan's execution should be livestreamed. In 2009, Hasan, then an Army psychiatrist, entered the Soldier Readiness Center of Fort Hood and shot and killed 13 people while wounding 32.

Hasan had been emailing an Imam described as an al Qaeda sympathizer a year before the shootings. When Hasan entered the center, he shouted, "Allahu Akbar!" which means "Allah is Greater" in Arabic. Hasan has described the shooting as an act of jihad.

Memorial
A fallen soldiers memorial is seen following the Hasan mass shooting at Fort Hood. Getty Images

Last week, Secretary of War Pete Hegseth said that the military planned to live stream Hasan's execution by firing squad. "We'll make sure that people are able to watch it, that it's public," Hegseth said during an appearance on Real America's Voice News.

Hasan is scheduled to die on December 3.

The Defense Department had reiterated that the execution would be livestreamed: "The Secretary is correct. It will be live streamed. Details will follow," the department told ABC News.

However, President Donald Trump said on Thursday the execution won't be livestreamed in the end. "I think streaming the execution for all to see might have been a strong deterrent for the World to witness how America deals with Terrorists and SCUM like Hasan but, many very good and well meaning people would rather not watch him die, through streaming, or through any other visual device," Trump said in a social media post.

"He will die, as scheduled, by firing squad, but this event will not be streamed. That said, the execution may be viewed in person by the immediate families of the victims, if they so choose," he added.

The poll, which was conducted using Ipsos' KnowledgePanel, found that people were opposed to a public execution across the political spectrum. The move would be opposed by 91 percent of Democrats, 83 percent of independents, and 64 percent of Republicans.

The poll also found that even among people who believe Hasan deserves to die for his crimes, 69 percent do not believe that it should be livestreamed.

The poll surveyed 2,545 adults from October 9 through October 13. It had a 2-point margin of error.