HUNTSVILLE, Texas - An East Texas man set for execution this week for a shootout eight years ago that left two sheriff's officers dead has won a reprieve from the state's highest criminal appeals court.

The Texas Court of Criminal Appeals late Monday stopped the scheduled execution of 55-year-old Randall Wayne Mays. The ruling means Mays will not be executed Wednesday evening for the fatal shootings at his home in Henderson County.

The court agreed with Mays' lawyers that additional review is needed to determine if Mays is mentally competent for execution.

Get Breaking News Delivered to Your Inbox

His punishment would have depleted the Texas Department of Criminal Justice's supply of pentobarbital used for lethal injections and now difficult to obtain for capital punishment.

The decision leaves Texas with enough for the next execution, scheduled for April 9.