Ahithophel was the king's counselor, and Hushai the Archite was the king's companion.
1 Chronicles 27:33
Surrounding context
27:32 Also Jehonathan, David's uncle, was a counselor, a wise man, and a scribe; and Jehiel the son of Hachmoni was with the king's sons.
27:33 Ahithophel was the king's counselor, and Hushai the Archite was the king's companion.
27:34 After Ahithophel was Jehoiada the son of Benaiah, then Abiathar. And the general of the king's army was Joab.