Ahithophel was succeeded by Jehoiada son of Benaiah and by Abiathar. Joab was the commander of the king's army.