Ahithophel was succeeded by Jehoiada son of Benaiah, then by Abiathar. Joab was the commander of the king&#8217;s army.