Updated

An airstrike Friday hit two cars carrying members of an Iran-backed militia north of Iraq's capital, Baghdad, killing five people, an Iraqi official told The Associated Press.

The official added that the identities of those killed were not immediately known. It was not immediately clear who launched the strike, but a U.S. official told AP the attack was not an American military attack.

TRUMP SAYS SOLEIMANI WAS PLANNING 'IMMINENT AND SINISTER ATTACKS' IN FIRST PUBLIC REMARKS SINCE AIRSTRIKE

The strike was confirmed by the Iran-backed Popular Mobilization Forces, which denied that any of its top leaders were among the five killed. The group said the strike targeted one of its medical convoys.

The latest operation came almost exactly 24 hours after a U.S. airstrike killed Iranian general Qassem Soleimani, leader of the Islamic Revolutionary Guard Corps' (IRGC) elite Quds Force, and nine others at Baghdad International Airport.

The elusive Iranian general was considered a military mastermind and was the longstanding leader of the Quds Force, an external arm of the IRGC responsible for supporting terrorist proxies throughout the Middle East. The force was designated a terror group by the U.S. in 2007.

WHO IS QASSEM SOLEIMANI, THE SHADOWY LEADER OF THE ISLAMIC REVOLUTIONARY GUARD CORPS' QUDS FORCE?

The U.S. State Department has said it believes Soleimani was responsible for military operations that accounted for at least 17 percent of all U.S. personnel deaths in Iraq between 2003 and 2011. In April 2019, the department said Iranian and Iranian-backed forces led by Soleimani were responsible for killing 608 American troops during the Iraq War.

President Trump ordered the attack that killed Gen. Soleimani, saying in remarks Friday in Florida that "what the U.S. did yesterday should have been done long ago."

"We took action last night to stop a war,” Trump said at his Mar-a-Lago resort. “We did not take action to start a war.”

The targeted airstrike marked a major turning point and escalation in the tense relationship between Iran and the United States, which exited the Iran nuclear deal in 2018 and has since reinstated steep sanctions against the country.

TRUMP SAYS SOLEIMANI SHOULD HAVE BEEN KILLED ‘YEARS AGO,’ WAS ‘HATED’ WITHIN IRAN

Iran has since vowed "harsh retaliation" for the U.S. strike.

Iranian President Hassan Rouhani called the killing Thursday a “heinous crime" and said the country would “take revenge.”

CLICK HERE TO GET THE FOX NEWS APP

The U.S. is now sending nearly 3,000 American troops to the region.

Approximately 5,200 U.S. service members are based in Iraq, where they help fight Islamic State (ISIS) militants and train Iraqi forces.

Fox News' Alex Pappas and Frank Miles contributed to this report, as well as The Associated Press.