DALLAS — When a judge in South Texas signed an order this past week setting an execution date of Oct. 5 for John Henry Ramirez, it seemed like the end of the road.
Mr. Ramirez was convicted in 2008 for the murder of a convenience store worker, a crime he has acknowledged committing. He was sentenced to death and appealed his case to the Supreme Court — not to stop his execution, but to prepare for it. He asked to have his Baptist pastor pray out loud and lay hands on him in the execution chamber, a request that brought his case national notoriety. Last month, the court ruled in his favor, clearing the path for his execution to proceed as long as the state of Texas complied with his request.
But in a surprise turn of events on Thursday, District Attorney Mark Gonzalez of Nueces County filed a motion withdrawing the death warrant for Mr. Ramirez, citing his “firm belief that the death penalty is unethical and should not be imposed on Mr. Ramirez or any other person.” His own office had requested the execution date just days earlier, but Mr. Gonzalez, a Democrat, wrote in his motion that an employee in his office had done so without consulting him.
In a broadcast from his office on Facebook Live on Thursday afternoon, Mr. Gonzalez, whose district includes Corpus Christi, where the crime occurred, explained his decision.
Mexican biker lawyer covered in tattoos,” is part of a wave of progressive prosecutors who represent a shift away from an aggressively punitive approach to justice.
Mr. Gonzalez was elected in 2016, defeating a fellow Democrat in a long-shot primary. His views on the death penalty were muddled during the race, and several years into his tenure, he was still publicly conflicted on the issue, frustrating some advocates when he deferred to a jury on the question of whether to seek the death penalty in another high-profile murder case.
signed a letter to the Biden administration urging it to end the death penalty in the United States. The U.S. attorney general, Merrick B. Garland, imposed a moratorium on federal executions last summer.
In his Facebook Live broadcast, Mr. Gonzalez explained his shifting approach.
“I have to deal with my own growth and my own rationale and thinking and logic,” he said, apologizing to anyone upset by the decision. “I did this because I thought this would be the right thing to do.”
He encouraged viewers to research the pros and cons of the death penalty, arguing that it has a disproportionate impact on people “of color, low economic status or even low intellect.”
In prison, Mr. Ramirez got to know Dana Moore, the pastor of Second Baptist Church in Corpus Christi. Mr. Ramirez became a member of the church, and Mr. Moore visits him regularly to pray and talk. In August, Mr. Ramirez filed a federal lawsuit against prison officials for denying his request to have Mr. Moore pray out loud and lay a hand on him in the execution chamber.
The Supreme Court ruled 8 to 1 in his favor, with Chief Justice John G. Roberts Jr. writing for the majority that while a state may limit the activities of spiritual advisers in the execution chamber, it ought not ban them.
Mr. Moore said he heard about the reversal on Thursday. He was confused, since he had been with Mr. Ramirez “feet from the death chamber” last fall and they had heard nothing from Mr. Gonzalez’s office at the time. Mr. Ramirez received a last-minute reprieve from the Supreme Court at that time so the court could hear his religious freedom case.
On Friday, the pastor said he was relieved for Mr. Ramirez, but he was also thinking about Mr. Castro’s family. “Whatever happens, I pray they find peace,” he said.