SANTA FE, N.M. (AP)  Gov. Bill Richardson signed legislation Wednesday to repeal New Mexico’s death penalty, calling it the “most difficult decision in my political life.”

The legislation replaces lethal injection with a sentence of life in prison without the possibility of parole.

“Faced with the reality that our system for imposing the death penalty can never be perfect, my conscience compels me to replace the death penalty with a solution that keeps society safe,” Mr. Richardson said at a news conference in the Capitol.

The governor, a Democrat, faced a deadline of midnight for making a decision on the bill that lawmakers sent him last week.