KUALA LUMPUR (Reuters) - Malaysian Prime Minister Mahathir Mohamad and jailed politician Anwar Ibrahim tried to ease a rift within the ruling alliance on Sunday after differences erupted between their supporters over cabinet positions.

Malaysia's newly elected Prime Minister Mahathir Mohamad attends a news conference in Menara Yayasan Selangor, Pataling Jaya, Malaysia May 12, 2018. REUTERS/Stringer

The four-party alliance scored a historic victory in Wednesday’s general election over the long-ruling Barisan Nasional government, but the emergence of a rift so soon is raising questions about the unity of what was always an unlikely coalition.

In a statement from his hospital bed, Anwar said he had told members of his People’s Justice Party (PKR) to ensure that Mahathir’s government “remains strong and stable”.

But he also said that, in a conversation with Mahathir, he had raised PKR’s demand for “more inclusive negotiation”, a reference to the formation of the cabinet.

Mahathir said in a telecast on state TV that “at the beginning, we shouldn’t look at proportion” in the cabinet.

“It will be made up when we make up the rest of the cabinet,” he said. “Surely there will be some conflict in need and wants of each party. This will be determined by the prime minister.”

Mahathir is the alliance leader and Anwar’s PKR has the majority of seats in parliament won by the group. The volatile relationship between the two, from friends to foes to allies, has dominated Malaysia’s political landscape for over three decades and is central to the future of the alliance.

Mahathir announced just three ministers on Saturday, to join himself and Wan Azizah Wan Ismail, Anwar’s wife, in the cabinet. He was to announce 10, and sources within the alliance said there was no agreement on the others.

The sources declined to be identified because of the sensitivity of the matter.

Wan Azizah did not attend the news conference to announce the new ministers because of the disagreements, said one source in the alliance.

Mahathir then visited Anwar in the hospital where he is recovering from a shoulder operation and the atmosphere was frosty, said another source who was present. The source said Mahathir and Anwar are scheduled to meet again on Sunday to patch up differences over the cabinet positons.

“Even the three appointed (is not final) because the decision was made without our participation,” Rafizi Ramli, a senior member of PKR, was quoted as saying by the Malaysiakini website.

“He (Mahathir) bulldozed it. He just unilaterally announced,” Rafizi said.

PKR won 48 seats out of the 113 won by the alliance in the May 9 election. Among other members of the coalition, the Democratic Action Party (DAP) won 42, Mahathir’s Bersatu party won 12 and the Amanah party of new Defence Minister Mohamad Sabu won 11.

“The transition of power in Malaysia will be like water finding a new level, these things won’t be resolved quickly,” said Karim Raslan, founder of the KRA Group, a public affairs consulting firm for Southeast Asia.

“It will be a race against time as the two grand old men of Malaysian politics - Mahathir Mohamad and Anwar Ibrahim - struggle to assert themselves.”