Iraq's parliament on Thursday elected Kurdish politician Abdul Latif Rashid as president, who immediately named Mohammed Shia al-Sudani prime minister-designate, ending a year of deadlock after a national election in October last year.
The presidency, traditionally occupied by a Kurd, is a largely ceremonial position, but the vote for Rashid was a key step toward forming a new government, which politicians have failed to do since the election.
Rashid, 78, a British-educated engineer, was the Iraqi minister of water resources from 2003-2010.
He invited Sudani, the nominee of the largest parliamentary bloc known as the Coordination Framework, an alliance of Iran-aligned factions, to form a government. Sudani previously served as Iraq's human rights minister as well as minister of Labour and Social Affairs.
Rashid won against former President Barham Salih, who was running for a second term.
Thursday's vote, which was the fourth attempt to elect a president this year, took place shortly after nine rockets landed around the Iraqi capital's Green Zone, according to a military statement.
At least 10 people, including members of the security forces, were injured in the attack, according to security and medical sources.
Similar attacks took place last month as the parliament was holding a vote to confirm its speaker.
Thursday's parliament session comes a year after an election in which populist Shi'ite Muslim cleric Moqtada al-Sadr was the biggest winner but failed to rally support to form a government.
Sadr withdrew his 73 lawmakers in August and said he would quit politics, prompting the worst violence in Baghdad for years when his loyalists stormed a government palace and fought rival Shi'ite groups, most of them backed by Iran and with armed wings.
Sadr, who has not declared his next move, has a track record of radical action, including fighting U.S. forces, quitting cabinets, and protesting against governments. Many fear protests by his supporters.
Security personnel had deployed checkpoints across the city, closed off bridges and squares and erected walls across some of the bridges leading to the fortified Green Zone on Thursday.
Under a power-sharing system designed to avoid sectarian conflict, Iraq's president is a Kurd, its prime minister a Shi'ite and its parliament speaker a Sunni.
Kurdish Tensions
The presidency was fiercely contested between Iraqi Kurdistan's two main parties - the Kurdistan Democratic Party (KDP) which nominated Rashid, and its traditional rival, the Patriotic Union of Kurdistan (PUK).
Rashid's election raises concerns about escalating tensions between the KDP and PUK, who fought a civil war in the 1990s.
The KDP and PUK were unable to iron out differences and agree on one candidate.
- Reuters