The Pentagon has released video and photos of the US special forces raid that resulted in the death of Islamic State group leader Abu Bakr al-Baghdadi.

Among the images released by the US Defense Department was grainy black-and-white footage of US troops approaching on foot the high-walled compound in northwestern Syria where Baghdadi was hiding.

The Pentagon also released video of airstrikes on a group of unknown fighters on the ground who opened fire on the helicopters that ferried US forces in for the assault on Baghdadi's compound in Syria's Idlib province.

Before and after pictures of the isolated compound were also released.

The compound was razed by US munitions after the raid, leaving it looking like "a parking lot with large potholes," said Marine Corps General Kenneth McKenzie, commander of US Central Command.

Speaking to reporters at the Pentagon, he also provided several new details about Sunday's raid.

He said that two children were killed, and not three as US President Donald Trump previously said, when Baghdadi blew himself up with a suicide vest in a tunnel as he tried to escape US troops.

He said the children appeared to be under 12 years old.

General McKenzie was asked about President Trump's claim that Baghdadi had fled into the tunnel "crying and whimpering".

"About Baghdadi's last moments, I could tell you this," he said. "He crawled into a hole with two small children and blew himself up while his people stayed on the ground."

Baghdadi "may have fired from his hole in his last moments," he added.

General McKenzie said that in addition to Baghdadi and the two children, four women and one man were killed at the compound.

He said the women had acted in a "threatening manner" and were wearing explosive vests.

An unknown number of nearby fighters were also killed when they opened fire on US helicopters, General McKenzie said.

We need your consent to load this rte-player contentWe use rte-player to manage extra content that can set cookies on your device and collect data about your activity. Please review their details and accept them to load the content.Manage Preferences

Video released by the Pentagon showed airstrikes on a group that appeared to consist of up to a dozen or so people on the ground.

General McKenzie declined to provide any further details about the two men captured in the raid, but said that a "substantial" amount of electronics and documents had been recovered from the compound.

He said Baghdadi had been identified through comparison with his DNA, which had been on file since his 2004 detention in an Iraqi prison.

He said Baghdadi's remains had been flown back to the staging base for the raid for identification.

Baghdadi was then buried at sea within 24 hours of his death "in accordance with the laws of armed conflict", General McKenzie said.

IS has confirmed that Ibrahim al-Quraishi had been appointed as its new leader following Baghdadi's death.

As well as Baghdadi, the group also confirmed the death of spokesman Abual-Hassan al-Muhajir.

General McKenzie said that despite Baghdadi's death, IS remains "dangerous".

"We're under no illusions that it will go away just because we killed Baghdadi," he said. "It will remain."

General McKenzie also provided details about the dog that pursued Baghdadi into the tunnel.

He said it was a four-year veteran of 50 combat missions and had been injured by exposed live cables in the tunnel, but has since returned to duty.

President Trump said the dog was getting a White House homecoming next week.

He also revealed that the military dog, a Belgian Malinois, is named "Conan".

It was previously a closely guarded secret because the information could be used to identify the special forces unit that carried out the raid in Syria over the weekend.

Mr Trump posted a photomontage on Twitter showing him bestowing a medal of honor on the dog with the legend: "AMERICAN HERO."

It was unclear what else lies in store for Conan, but it has been noted that Mr Trump is the first US president in more than a hundred years who does not own a dog.

The photomontage that Mr Trump retweeted was produced by the conservative publication Daily Wire.

It used a White House picture of the president draping the Medal of Honor, the nation's highest military medal, around the neck of James McCloughan, a former army medic distinguished for saving lives under fire during the Vietnam War.