Kathmandu (Agencies): Nepal's new Prime Minister Jhalanath Khanal appeared to have reached an understanding with the Maoists over sharing of government ministries.

According to reports, former rebels may get 11 portfolios in the new cabinet, including Home and Foreign Affairs.

The CPN-UML and the CPN-Maoists were sparring over power sharing for over 10 days when the new Prime Minister was sworn in, making it impossible for the government to function.

However, CPN-UML leader Khanal and Maoist chief Prachanda appear to have reached an understanding during a meeting the two held today, increasing the possibility of the largest party joining the government in a day or two.

Earlier, the Maoists had threatened that they would not join the government if the seven-point agreement reached between the two top leaders prior to Khanal's election, is not implemented.

During the meeting today, the Prime Minister is believed to have agreed to concede 11 ministerial portfolios, including Home and Foreign Affairs to the Maoists, and keep eight for his CPN-UML party, Maoist sources said.

"We have tentatively discussed the power sharing issues and the Home and Foreign are likely to be allocated for our party," said Maoist spokesman Dinanath Sharma.

He, however, said that the final decision will be taken after the party's high-level meeting endorses the decision on Thursday.

Krishna Bahadur Mahara, foreign department chief of the party, is likely to be made deputy prime minister, sources close to the Maoist said.

However, press advisor to Prime Minister Surya Thapa appeared more cautious in revealing the details of today's meetings.

However, in the high-level meeting on Thursday, Khanal is likely to face strong opposition from the moderate group within the party, led by former Prime Minister Madhav Kumar Nepal and K P Sharma Oli, over his reported deal with Prachanda on power sharing, particularly on giving Home Ministry to the Maoists.

Senior leader of the party Oli was not allowed to enter the Prime Minister's official residence today sparking a debate within the ruling party.

Oli has strongly opposed the 7-point pact between Prime Minister Khanal and Maoist chief Prachanda that was reached before the latter stepped out of the prime ministerial race in favour of the former.

The Khanal-Prachanda agreement includes, among other things, provisions to share the prime ministerial berth on rotational basis, sharing key ministries of Home, Defence and Foreign among the two largest Communist parties and setting up a separate force within the Nepal Army while integrating the Maoist combatants.

However, main opposition leader Ramchandra Poudyal said there was no possibility of joining a Maoist-led government, and contended that the views expressed by Koirala were her "personal views".