(CN) - Convicted Charleston church gunman Dylann Roof will plead guilty to state murder charges to avoid a second death sentence.
Roof will enter his guilty plea at a hearing in Charleston Circuit Court April 10, according to Solicitor Scarlett Wilson.
She said he will enter the plea in exchange for a sentence of life in prison.
Roof was convicted in federal court in December for the murder of nine black parishioners and wounding of three others at Charleston's Emanuel AME Church in June 2015.
Roof was awaiting trial on state murder charges for the same crimes, and Wilson had consistently maintained she too would seek the death penalty.
She said the plea deal will allow Roof to be transferred to federal custody.
Subscribe to Closing Arguments
Sign up for new weekly newsletter Closing Arguments to get the latest about ongoing trials, major litigation and hot cases and rulings in courthouses around the U.S. and the world.