Can someone explain to me why the death penalty costs the equivalent of 26 years in prison?

I was doing some research on this, the average cost to keep someone in prison is between 48k and 60k annually, but the cost of the death penalty is 1.26 million. How the hell does it cost that much?
Can someone explain to me why the death penalty costs the equivalent of 26 years in prison?
Post Opinion