MONTGOMERY, Ala. — The U.S. Court of Appeals in Atlanta ruled Monday that Alabama cannot shield its lethal injection execution protocol from the public.

The unanimous ruling from the court's three-judge panel upheld a 2018 U.S. District Court ruling, which sided with the Montgomery Advertiser, Associated Press and Alabama Media Group's motion to unseal Alabama's execution protocol on First Amendment grounds.

The media organizations filed the motion following the botched execution of Doyle Lee Hamm, a death row inmate who walked out of the execution chamber in February 2018 after officials couldn't find a suitable vein for lethal injection.

More: California governor to freeze death penalty, says it's 'fundamentally immoral' and biased

More: Supreme Court will decide if convicted sniper in 2002 District of Columbia-area killings can get new sentence

Though Alabama said at the time it would pursue another execution, Hamm's attorney later said the state had agreed not to seek another attempt.

U.S. District Court Judge Karon Bowdre ruled last year the state must release its lethal injection protocol, sealed transcripts of two court hearings and a related motion in the case of Hamm.

"Capital punishment is a hotly contested issue that involves an irrevocable punishment for prisoners convicted of terrible crimes," the ruling stated. "The public has a great interest in understanding how the state carries out its punishment."

Alabama halted executions in 2014 after it ran out of pentobarbitol, a sedative used in the execution process. Later the same year, the Alabama Department of Corrections adopted a new three-drug protocol that includes a sedative, a paralyzing agent and potassium chloride, which stops the heart.

More: Two men arrested in fight during execution of Texas inmate

More: Supreme Court blocks death sentence for murderer with dementia who can't remember crime

Alabama has not released information on how and where it procures its execution drugs. The state has also remained tight-lipped about other protocols and procedures leading up to executions.

Story continues

ADOC officials called off Hamm's lethal injection attempt at Holman Correctional Facility shortly before midnight on Feb. 22, 2018. ADOC officials said it was a time issue — Hamm's death warrant expired at midnight — but Hamm's legal team say multiple attempts to set an IV in his lower legs and groin led to extreme pain, possible infection and psychological distress.

Afterward, Hamm argued in court the execution attempt amounted to cruel and unusual punishment. His lawyers had previously warned the court his veins were too damaged from medical issues to be access for an IV line.

"There are few things the citizens of Alabama need to know more than how the state is executing someone," Advertiser Executive Editor Bro Krift said last year. "Open government is good government."

Alabama now has three weeks in which it can ask the appeals court to rehear the case.

Follow Melissa Brown on Twitter: @itsmelissabrown

This article originally appeared on Montgomery Advertiser: Court rules Alabama must disclose lethal injection execution protocol