King Mohammed VI on Tuesday appointed Morocco's first-ever Islamist prime minister and charged him with forming a government following his party's historic election win.
Abdelilah Benkirane, head of the moderate Islamist Justice and Development Party (PJD), will now lead talks on putting together a coalition cabinet, the palace said in a statement.
"He was appointed as the head of the government, in accordance with the new constitution, and will be responsible for forming the new government," the palace said in a statement.
Benkirane took the oath of office after a brief meeting with the king, an AFP journalist witnessed, and was expected to start coalition talks shortly.
"I ask the Almighty to help me carry out the noble mission with which the king has entrusted me in the general interest, and to rise to the oath that I took today before His Majesty," Benkirane said.
Tuesday's appointment capped a series of firsts in the north African nation -- the first poll since the king introduced constitutional reforms as Arab Spring protests shook the region; the first time an Islamist party won a national poll; the first time the king had to name a premier from the winning party; the first time an Islamist party will lead a government.
The PJD, which has sworn allegiance to the monarchy, won 107 of the 395 seats in parliament.
The party is considered to adhere to moderate Islamism, a political system that advocates following Islamic beliefs, and is not expected to make radical changes to policy since it will have to govern with several other parties.
The 57-year-old Benkirane, who sports close-cropped white hair and a matching beard, has acknowledged that his party would have to tailor its programme to appease its coalition partners.
"But the nub of our programme and of those who will govern with us will have a double axis, democracy and good governance," he told France 24 television on Saturday.
The PJD has steadily gained in popularity since capturing just eight seats in the first election it contested in 1997.
It scooped 42 seats in 2002 elections, the first of Mohammed VI's reign, and then increased its share in 2007 when it finished second with 47 seats.
Signup to our newsletter and follow us on Facebook and Twitter!
The party initially focused on social issues, such as opposition to summer music festivals and the sale of alcohol, but has shifted to topics with broader voter appeal like the fight against corruption and high unemployment.
In the latest campaign, it promised to cut poverty in half and raise the minimum wage by 50 percent.
Three parties in the outgoing government -- the independent Istiqlal, with 60 seats, the liberal Rally of Independents, with 52, and the Socialist Union of Popular Forces (USFP), with 39 -- have declared themselves ready for talks with the PJD, according to Moroccan press.
Newspapers speculated heavily on the new team, which they said should include independent figures and technocrats.
The Qoutla three-party coalition in the current government met on Monday to find a common policy on joining the PJD in power, the daily Al-Massaa reported.
Formed in 1992 to press for constitutional reform, this coalition of the Istiqlal, the USFP and the Party of Progress and Socialism (formerly Communist) holds 164 seats in the new parliament.
Benkirane has already said he will talk to the Qoutla.
Born in Rabat, Benkirane is married and the father of six children.
Francois Fillon, prime minister of Morocco's former colonial master France, called Benkirane on Tuesday pledging to "accompany (Morocco) on the road to development and progress".
"The prime minister has sent his Moroccan counterpart wishes of success in his new task," Fillon's office said in a statement.
Fillon pointed out that Friday's election was "an important step in the ambitious and courageous process of political, economic and social reforms" launched by Mohammed VI.
France was looking forward to working with the Moroccan government as a reliable partner, the statement added.