Washington state Supreme Court outlaws death penalty because "it is imposed in an arbitrary and racially biased manner."
https://www.seattletimes.com/seattle-news/washington-state-supreme-court-tosses-out-death-penalty/
If the court can write the laws, who needs a legislature?