The king then gave the order to Benaiah son of Jehoiada who went and executed Shimei.So Solomon took firm control of the kingdom.