1 Kings 2:26-27

2:26 The king then told Abiathar the priest, “Go back to your property in Anathoth. You deserve to die, but today I will not kill you because you did carry the ark of the sovereign Lord before my father David and you suffered with my father through all his difficult times.” 2:27 Solomon dismissed Abiathar from his position as priest of the Lord, fulfilling the decree of judgment the Lord made in Shiloh against the family of Eli.

1 Kings 2:35

2:35 The king appointed Benaiah son of Jehoiada to take his place at the head of the army, and the king appointed Zadok the priest to take Abiathar’s place.