A senior Al Qaeda leader was killed during a joint U.S.-Afghanistan commando raid on a Taliban compound last month, officials announced Tuesday.

The late September assault on the facility in Afghanistan’s Helmand Province resulted in the deaths of Asim Omar and six other members of Al Qaeda in the Indian Subcontinent, including a courier for Al Qaeda leader Ayman al-Zawahiri, Afghanistan’s intelligence agency said in a tweet. U.S. officials also confirmed the deaths to Fox News.

A U.S. Air Force AC-130 gunship later leveled the compound, but provincial officials told the Associated Press that 40 people attending a wedding party in the area were killed from those airstrikes.

HUNTING AYMAN AL ZAWAHIRI: WHERE HAS THE AL QAEDA LEADER BEEN HIDING FOR 18 YEARS?

The strikes also killed 22 Taliban fighters and destroyed a large warehouse of supplies and equipment, the Associated Press added, citing Afghanistan’s defense ministry.

It was not immediately clear Tuesday how much Omar’s death will impact the terrorist group. Unlike other terror leaders, the U.S. State Department had no bounty on his head at the time of his death.

CLICK HERE FOR THE ALL-NEW FOXBUSINESS.COM

The news of Omar’s death came on the 18th anniversary of the first American airstrikes in Afghanistan.

Meanwhile, U.S.-led peace talks with the Taliban appear to be back on after President Trump's envoy recently traveled to Pakistan. The U.S. has been pushing for the Taliban to make a public break with Al Qaeda and renounce any ties to the terrorist group.

Fox News' Greg Norman and the Associated Press contributed to this report.