King Abdullah II of Jordan delivers a speech at the Catholic University of Louvain in Belgium in May. ( Benoit Doppagne /Agence France-Presse via Getty Images)

Jordan’s King Abdullah II appointed veteran politician Hani Mulki as caretaker prime minister Sunday after dissolving parliament as its four-year term nears its end and charged him with organizing elections by October.

The king accepted the resignation of Prime Minister Abdullah Ensour before appointing Mulki by royal decree. Mulki has held senior government posts in successive administrations. Under the constitution, the election must be held within four months.

“The kingdom faces grave economic difficulties due to the volatile situation in this region, which has had an adverse impact on growth levels,” Abdullah said in a letter appointing Mulki. “Therefore we have to take exceptional and innovative measures that help us overcome these challenges and obstacles.”

Jordan is struggling to cope with at least 1.2 million Syrian refugees who have fled the conflict in their country.

The king also told Mulki that he hoped the election would pave the way for a prime minister emerging from a parliamentary majority rather than one handpicked by the monarch, a main plank of the reformist agenda of a mix of Islamist and tribal figures.

Jordan traditionally votes according to tribal and family allegiances, but parliament amended the electoral laws in March in a move that analysts say will lead to more candidates from political parties vying for votes.

The analysts say the tribal lawmakers who dominated the last parliament had tried to resist changes that might undermine their influence, under a system that still favors sparsely populated tribal areas.

Jordan’s main political opposition comes from the Muslim Brotherhood movement, but it faces increasing legal curbs on its activities, leaving mostly pro-monarchy parties and some independent Islamists and politicians to compete in these elections, analysts say.

The Brotherhood wants sweeping political reforms but stops short of demanding the overthrow of the monarchy.

Its political arm in Jordan, the Islamic Action Front, represents many disenfranchised Jordanians of Palestinian origin, who are in the majority in the population of 7 million and live mostly in urban areas.

Analysts say it could be difficult for the Brotherhood, which has operated legally in Jordan for decades, to participate in the election after authorities closed many of its offices and encouraged a splinter group to legally challenge the main movement’s license to operate.

Western diplomats and independent politicians say the absence of the group, which has strong grass-roots support in urban centers, could undermine the legitimacy of the election.

Western donors have pushed Jordan’s authorities to widen political representation to stem radicalization among alienated and unemployed young people. Hundreds of them have joined extremists in Syria and Iraq.