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.