1 Chronicles 27:34
and after Ahithophel was Jehoiada the son of Benaiah, and Abiathar: and the captain of the king's army was Joab.
1 Kings 1:7
And he conferred with Joab the son of Zeruiah, and with Abiathar the priest. And they followed Adonijah and helped him.
1 Chronicles 11:6
David said, "Whoever strikes the Jebusites first shall be chief and captain." Joab the son of Zeruiah went up first, and was made chief.
1 Chronicles 27:5
The third captain of the army for the third month was Benaiah, the son of Jehoiada the priest, chief: and in his division were twenty-four thousand.
Treasury of Scripture Knowledge
Summary
                            And after Ahithophel was Jehoiada the son of Benaiah, and Abiathar: and the general of the king's army was Joab.                        
                    Abiathar
The general
Bible References
Abiathar
                                        1 Kings 1:7                                        
                                                            
                        And he conferred with Joab the son of Zeruiah, and with Abiathar the priest. And they followed Adonijah and helped him.
                                    The general
                                        1 Chronicles 11:6                                        
                                                            
                        David said, "Whoever strikes the Jebusites first shall be chief and captain." Joab the son of Zeruiah went up first, and was made chief.