When several persons are indicted and tried jointly, if the jury cannot agree upon a verdict as to all, they may render a verdict as to those in regard to whom they agree, on which a judgment must be entered accordingly, and the case as to the other defendants may be tried by another jury.
Ala. Code § 15-17-2 (1975)