The plea agreements would spare Mohammed and the others the risk of the death penalty in exchange for guilty pleas.