The king has executive and legislative powers. He is commander-in-chief of the Jordanian Armed Forces and appoints the prime minister and the directors of security agencies. He also appoints the members of the upper house, the Senate, as well as the members of the Constitutional Court. 