COLUMBIA, S.C. -- A federal judge has approved the request of the alleged Charleston church shooter to bring back his lawyers, one week after he asked to have them dismissed.

In a handwritten request filed on Sunday, 22-year-old Dylann Roof asked U.S. District Judge Richard Gergel to bring his defense team back on board for the guilt phase of his federal death penalty trial, which begins next week in Charleston.

Roof will be allowed to go back to representing himself for the penalty phase. Gergel agreed Monday, but warned Roof that he can’t change his mind again.

Prosecutors have asked for the death penalty. Such cases are split into two parts: the guilt phase, and then a separate portion that focuses on whether the defendant will be sentenced to death, or life in prison.

Get Breaking News Delivered to Your Inbox

The request came a week after a federal judge allowed Roof to represent himself in the June 2015 slayings at Emanuel AME Church. CBS Charleston affiliate WCSC-TV had reported that Roof, facing 33 charges including hate crime and murder, told Judge Gergel that he had reviewed the order that declared him competent to stand trial, and that he felt ready to represent himself.

Gergel told Roof in court that he felt the decision to be “strategically unwise,” but he ultimately granted Roof permission to represent himself at trial.

Ever since then, his high-powered legal team has sought to play a larger role in his defense, saying late last week they feared Roof wouldn’t introduce evidence that could possibly spare his life.

Authorities have said Roof killed the parishioners in a racially motivated attack at the Emanuel AME Church in June 2015. After an hour of Bible study and prayer, authorities say Roof hurled racial slurs during the shooting and left three people alive so they could tell the world the killings were because he hated black people.

Final jury selection and opening statements in Roof’s federal trial on dozens of federal charges, including hate crimes and obstruction of the practice of religion, are scheduled to begin Wednesday. He also faces a death penalty trial on state murder charges.