President Joe Biden declared US relations with Iraq would enter a new phase with American troops exiting combat operations in the country by year-end as he held talks Monday with Prime Minister Mustafa al-Kadhemi.

Amid the threat of an Islamic State resurgence and Iran's powerful influence in Baghdad, Biden stressed that Washington remains "committed to our security cooperation" while Kadhemi reaffirmed their "strategic partnership."

US troops in Iraq will "to continue to train, to assist, to help, to deal with ISIS (Islamic State) as it arises," Biden said.

But, in a shift that comes as the United States pulls out of Afghanistan, the US leader confirmed that the 2,500 US troops still in Iraq won't be fighting.

"We're not going to be, at the end of the year, in a combat mission," he said.

US President Joe Biden welcomes Iraqi Prime Minister Mustafa al-Kadhemi at the White House for the leaders' first meeting on Monday US President Joe Biden welcomes Iraqi Prime Minister Mustafa al-Kadhemi at the White House for the leaders' first meeting on Monday Photo: AFP / SAUL LOEB

Eighteen years after the US invaded Iraq to remove strongman Saddam Hussein, and seven years after a US-led coalition battled Islamic State extremists who threatened the country, Washington turned its focus to other types of assistance.

It said it would help strengthen electric power supplies, fight Covid-19, confront the impacts of climate change, and support private sector development.

Some 500,000 coronavirus vaccine doses pledged to Baghdad "will be there in a couple weeks," Biden told Kadhemi in the White House.

Biden also emphasized US support for elections in October in Iraq, saying Washington is working closely with Baghdad, the Gulf Cooperation Council and the United Nations to ensure the elections are fair.

"We support strengthening Iraq's democracy and we're anxious to make sure the election goes forward," he said.

Kadhemi said he was in Washington "to discuss the future of our nation."

"America, they help Iraq. Together we fight, fight and defeat ISIS," he said.

Washington says it will help Iraq deal with debilitating power shortages, which have given rise to small-scale private electricity generating operations Washington says it will help Iraq deal with debilitating power shortages, which have given rise to small-scale private electricity generating operations Photo: AFP / Sabah ARAR

"Today, our relation is stronger than ever -- our partnership in the economy, the environment, health, education, culture and more."

The face-to-face meeting, analysts said, was to give support and cover to Kadhemi, in power for little over a year and under pressure from Iran-allied political factions to push US troops from his country.

A senior US official who would not be identified praised Kadhemi for being pragmatic and "a problem solver rather than someone who tries to use problems for his own political interests."

The main concern from Washington is to lend enough support to Iraqi security forces to keep up the fight against the remnants of the Islamic State group -- while also keeping a damper on Iran's influence in Iraq.

Since last year the principal role of the remaining US troops in Iraq has been to train, advise and support their Iraqi counterparts to battle Islamic State.

But powerful pro-Iran political factions, which are crucial to Kadhemi retaining power, are overtly hostile to the US presence, and are accused of being behind rocket and drone attacks on bases in Iraq where US forces operate.

The Iraqi Resistance Coordination Committee, a group of militia factions, threatened to continue the attacks unless the United States withdraws all its forces and ends the "occupation."

A drone attack was carried out Friday on a military base in Iraqi Kurdistan that hosts American troops, but did not cause any casualties.

A US State Department statement on the lower-level bilateral meetings that accompanied the Biden-Kadhemi summit emphasized US respect for Iraq's sovereignty.

"The bases hosting US and other Coalition personnel are Iraqi bases and are operating per existing Iraqi laws; they are not US or Coalition bases, and the presence of international personnel in Iraq is solely in support of the Government of Iraq's fight against ISIS," it said.

Ramzy Mardini, an Iraq specialist at the University of Chicago's Pearson Institute, said the meeting could be cosmetically "shaped" to help the Iraqi premier alleviate domestic pressures.

"But the reality on the ground will reflect the status quo and an enduring US presence," said Mardini.