Jury selection in Mr. Roof's trial had been delayed for three weeks after his lawyers petitioned Judge Richard M. Gergel of Federal District Court in Charleston to declare him incompetent to stand trial. A two-day hearing on that question was closed, but it now seems likely that Mr. Roof's relationship with his legal team broke down over its desire to present evidence related to his mental state.