A president is chosen by the king of Morocco from the largest party elected to parliament. The Constitution of Morocco grants executive powers to the government and allows the head of government to propose and dismiss cabinet members.