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 dismisses Iran's reply to peace plan, oil jumps as Hormuz closure persists
Evacuation of passengers from virus-hit cruise ship to be completed on Monday
Six people found dead in boxcar in Texas, police say
Turkish Airlines plane evacuated due to tyre fire after landing in Kathmandu
Thailand's former PM Thaksin Shinawatra released from prison
Iran sends its response to US proposal aimed at ending the war
Ukraine, Russia ceasefire strained as both sides report weekend attacks
Evacuation flights leave Tenerife after cruise ship virus outbreak
