BAGHDAD (AFP) - Iraqs political rivals reached a breakthrough power-sharing deal in which Nuri al-Maliki retains the premiership, a spokesman said on Sunday, exactly eight months after inconclusive elections. An agreement was reached yesterday among the political parties in which Jalal Talabani will continue as head of state, Nuri al-Maliki will stay on as Prime Minister and Iraqiya will choose its candidate for parliament speaker, government spokesman Ali al-Dabbagh told AFP. He said the deal was between the National Alliance, which represents the main Shia parties, and the Kurdish coalition, while Iraqiyas support hinged on its agreement over the posts of speaker and president. Iraqiya has not agreed for the moment over which side will have the parliament speakers position and which side will have the presidency, Dabbagh added. Former premier Iyad Allawis Sunni-backed Iraqiya bloc, which won the most seats in the March 7 election but fell short of a parliamentary majority, confirmed the deal and said discussions were continuing over those key posts. There is a draft agreement with the Iraqiya party, but there are still some problems to resolve, Dabbagh said, adding that parliament would meet on Thursday to choose a speaker, the first step towards forming a new government. The spokesman added that both Maliki and Allawi would on Monday (today) attend a ceremony in Arbil, capital of the autonomous Iraqi region of Kurdistan, to announce the agreement formally. Iraqiya MP Jamal al-Butikh said earlier his bloc had agreed to the power-sharing deal after it was assured that no political decision would be made without its agreement. Iraqiya will go to Arbil under Allawis leadership and because the party has been given reassurance in real power-sharing, he told AFP. Butikh said it was unclear if the bloc would be offered the speakers position or the presidency, although some of the groups members declared a preference for the latter now held by Talabani, leader of the Patriotic Union of Kurdistan. Iraqiya MP Alia Nusayef said Moqtada al-Sadr, a radical Shia leader who has 40 seats in parliament, had also been invited to the Arbil meeting because he brings equilibrium. Sundays announcement came after Iraqi Kurdistans regional president, Massud Barzani, said he had invited all political groups to meet on Monday in the Kurdish capital to resolve the crisis. Earlier on Sunday in Arbil, Turkish Foreign Minister Ahmet Davutoglu called for a meeting of Iraqi parties on forming a government. Im in Arbil to discuss and possibly give advice to Baghdad and Arbil on the issue of forming a government, which we hope will happen soon, he said. Iraqs second general election since the 2003 US-led invasion ended in deadlock after none of the main parties won enough of the 325 seats in parliament to form a majority government. Parliament has since remained in hiatus, except for a 20-minute oath-taking ceremony and another brief meeting at which acting speaker Fuad Massum declared an indefinite open session. The Iraqiya bloc narrowly won the election with 91 seats, closely followed by Malikis State of Law Alliance with 89. Neither was able to muster the 163-seat majority required in the parliament, despite intense back-door negotiations with various Shiite, Sunni and Kurdish blocs which also won seats. Barzanis Kurdistan Democratic Party and Talabanis Patriotic Union of Kurdistan, which together won 43 seats, had entered into an alliance with Goran and two Kurdish Islamic parties that won six places.