Joab son of Zeruiah was commander of the army. Jehoshaphat son of Ahilud was the royal historian.