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