Then the king ordered Benaiah to kill Shimei, and he did. So Solomon had full control of his kingdom.