Then the king gave an order to Benaiah, and he went and killed Shimei. So Solomon was completely in control of the kingdom.