Tunis: Tunisia celebrated Friday the adoption of a new constitution three years after the revolution, a landmark in getting its troubled transition back on track and hailed as a model by foreign leaders.

A symbolic ceremony at the national assembly, where the constitution was adopted on January 26, burnished Tunisia’s positive image in contrast with other Arab Spring nations such as Libya and Egypt that remain plagued by instability and political turmoil.

The charter is widely regarded as being the most progressive in the region.

The packed chamber included the premiers of Algeria and Kuwait and the presidents of France, Chad, Gabon, Guinea and Mauritania.

The constitution was forged during two years of acrimonious debate, amid deep divisions and mistrust between the Islamist party Al Nahda then in power and the largely secular opposition, aggravated by sporadic jihadist violence rocking the country.

Friday’s ceremony comes a day after the first anniversary of the assassination by suspected jihadists of Shukri Belaid, a prominent leftist politician and virulent critic of Al Nahda.

Mehdi Jomaa, the new prime minister, hailed the charter’s adoption but warned that it “should not make us forget the importance of the challenges to come”.

“We are committed to completing the process and preparing for free and fair elections,” he added of the parliamentary and presidential polls he is tasked with organising later this year.

The new constitution is a compromise that reduces the prominence of Islam — which is not mentioned as a source of legislation but is recognised as the nation’s religion — and cites the objective of bringing about gender parity in elected institutions.

Executive power is divided between the prime minister, who will have the dominant role, and the president, who retains important prerogatives, notably in defence and foreign affairs.

Before Friday’s ceremony, the presidency said in a comment posted on its Facebook page that “the world is celebrating the constitution with Tunisia”.

Imed Daimi, the head of President Moncef Marzouki’s political party, called on the country’s allies to help the Tunisian economy.

Foreign officials have “come to share in our joy and support the Tunisian experience ... We want this political support to translate into economic support,” he said.