Ahithophel was the king’s counselor; Hushai the Arkite was the king’s friend. Ahithophel was later replaced by Jehoiada son of Benaiah and by Abiathar.Joab was commander of the king’s army.