Ahithophel was counselor to the king; and Hushai the Archite was the king's friend.