Ahithophel was succeeded by Jehoiada son of Benaiah, then by Abiathar. Joab was the commander of the king’s army.
Jewish Publication Society of America Version (JPS1917) - 1 Chronicles 27:34 >and after Ahithophel was Jehoiada the son of Benaiah, and Abiathar; and the captain of the king's host was Joab.