1 Kings 2:35 (ESV)

35 The king put Benaiah the son of Jehoiada over the army in place of Joab, and the king put Zadok the priest in the place of Abiathar.

The final event of these small dramas concerning Abiathar and Joab was their replacement with Zadok in Abiathar’s place in the priesthood and Benaiah in the place of Joab as commander of the army of Israel. One more action on Solomon’s part was necessary to ensure the stability of his reign. However, it concerns an individual who had nothing to do with Adonijah’s rebellion.