PROVIDENCE, R.I. (AP) — A Rhode Island man at the center of a capital punishment battle between the state and federal governments is set to be sentenced after changing his plea to guilty to avoid the death penalty.

Jason Pleau pleaded guilty to robbery, conspiracy and using a firearm in a crime of violence for shooting to death a gas station manager during a robbery outside a bank in 2010.

He is scheduled to be sentenced on Friday in U.S. District Court in Providence. Under the terms of a plea agreement, the judge previously agreed to sentence Pleau to life in prison without parole.

Gov. Lincoln Chafee fought unsuccessfully to keep Pleau out of federal custody because of the threat of capital punishment, which is not used in Rhode Island.