The Iraqi parliament on Saturday elected Kurdish politician Nizar Amedi as the country's new president, a largely ceremonial role, following a parliamentary election last November.
Amedi, 58, is a former environment minister and has headed the political office of the Patriotic Union of Kurdistan (PUK) in Baghdad since 2024.
Iraq is now due to choose a prime minister, a closely-watched and sensitive pick.
US President Donald Trump threatened in January to withdraw Washington's support for Iraq, a major oil producer, if former Prime Minister Nouri al-Maliki was designated to form a cabinet.
An alliance of Shi'ite political blocs holding a parliamentary majority has nominated Iran-backed Maliki, alarming Washington, which along with Israel waged a six-week war with Iran until a ceasefire was announced on Tuesday.
Senior US and Iranian officials were meeting in Islamabad on Saturday in the highest-level talks between Washington and Tehran in half a century in an effort to end the war.
In Iraq, which has long trodden a tightrope between Iran and the US, its closest allies, the prime minister wields significant power.
Under Iraq's sectarian power-sharing system, the prime minister must be a Shi'ite Muslim, the parliamentary speaker a Sunni Muslim, and the president a Kurd.

Trump says US will hit Iran 'very hard', take control of energy infrastructure
US confirms third strike on Indian-crewed tankers this week
US and Iran trade attacks for a second day, undermining shaky ceasefire
UK defence minister Healey quits, says PM Starmer's plans fail to keep country safe
Bahrain says debris from intercepted Iranian drones injures child, damages homes
Philippines launches probe into deaths of two athletes from top basketball team
Kuwait resumes airspace after brief closure due to Iranian attacks
Canada introduces legislation to ban social media for children under 16
