A federal judge cleared the way Friday for California’s first execution in nearly five years, citing the state’s efforts to revise its lethal injection procedure and a Supreme Court ruling making it more difficult for condemned inmates to delay their death.

Barring successful appeals to other courts, convicted murderer and rapist Albert Greenwood Brown is scheduled to die on Wednesday, after U.S. District Court Judge Jeremy Fogel refused to block the execution.