The Libyan parliament approves Prime Minister Abdelhamid Dbeibah’s cabinet after two days of intensive deliberations.

The Libyan parliament has voted to pass a transitional government to lead the war-torn nation to the December elections. This is an important step in ending a decade of chaos.

After two days of intense debate, parliament on Wednesday approved the cabinet of interim Prime Minister Abdelhamid Dbeibah, with 121 of the 132 lawmakers in attendance voting in support, his spokesman said.

“This is a historic day for the House of Representatives,” said spokeswoman Aguila Saleh at the end of the vote.

Dbeibah, selected last month in United Nations-sponsored talks in Geneva, presented his proposed cabinet to Saleh last week.

The powerful businessman from the western city of Misrata was appointed head of the executive branch of a transitional government last month, which includes a three-member presidential council chaired by Mohammad Younes Menfi, a Libyan diplomat from the east of the country.

The transitional government is expected to lead the country through elections scheduled for December 24, according to a United Nations-brokered plan.

The cabinet proposed by Dbeibah consists of 33 ministers and two deputy prime ministers who, in his opinion, are representative of the various geographical areas and social segments of Libya.

The manner in which Dbeibeh was appointed and the expansive size of his cabinet have sparked criticism in Libya, on allegations of corruption and interference that opponents could use to deny his legitimacy.

Oil-rich Libya was thrown into chaos after a 2011 NATO-backed uprising toppled and killed longtime ruler Muammar Gaddafi.

The country has been divided between two rival governments, one in the east and one in the west, each supported by a variety of militias and foreign powers.