1 Kings 2:25
2:25 King Solomon then sent
Benaiah son of Jehoiada, and he killed Adonijah.
1 Kings 2:34
2:34 So Benaiah son of Jehoiada went up and executed Joab;
he was buried at his home in the wilderness.
1 Kings 2:46
2:46 The king then gave the order to Benaiah son of Jehoiada who went and executed Shimei.
So Solomon took firm control of the kingdom.