Former Texas Gov. Rick Perry is urging the Texas Supreme Court to side with a wrongfully convicted man who’s fighting top Republican leaders over state compensation for his wrongful imprisonment.

In an amicus letter filed Thursday, Perry, who resigned last fall as U.S. energy secretary, gave his opinion on the case of Alfred Dewayne Brown, who appealed to the Supreme Court after the Texas Office of the Comptroller denied his request for compensation for the 12 years he spent on death row.

Read more: The Persecution of Alfred Brown: Texas AG, Police Conspired to Punish Innocent Man