The US Army is preparing to carry out its first execution in 65 years.
Former army major Nidal Hasan is set to die by firing squad at a Texan military base on Saturday afternoon, local time.
The execution comes after months of twists and turns over whether it can be live-streamed to the public, as well as where, when and how it would happen.
That includes Hasan filing a habeas petition on Friday as an eleventh-hour bid to have a federal court block his death.
In 2009, Hasan was working as a US Army psychiatrist.
He was to be deployed to Afghanistan on November 28 of that year, despite doctors overseeing his medical training having previously voiced concerns over his Islamic faith conflicting with his military service.
On November 5, he walked into a building on the Fort Hood military base in Texas, where soldiers were getting medical clearances as they prepared for deployment.
He shouted "Allahu akbar" (Arabic for "God is great") and opened fire with a laser-sighted handgun, killing 13 people and injuring about 30 more before he was shot in the back and paralysed from the waist down.
Hasan, who represented himself at a military court trial, said he wanted to stop the soldiers from going to Afghanistan and killing his fellow Muslims — a defence a…