The head of ISIS in Afghanistan has been killed in a raid carried out by Afghan and US special forces, the country's president has said.

Abdul Hasib died during an attack by 50 US special forces and 40 Afghan commandos overnight on April 27, President Ashraf Ghani said.

His statement came after US Captain Jeff Davis said Hasib was believed to have died in the raid which also claimed the lives of two Army Rangers.

Abdul Hasib, the commander of ISIS in Afghanistan, was killed in a raid on April 27 which also left Army Rangers Cameron Thomas, 23 (left), and Joshua Rodgers, 22 (right), dead

Hasib had been leader of the terror group since last year when a US drone strike killed his predecessor, Hafiz Saeed Khan (pictured)

Joshua Rodgers, 22, of Illinois, and Cameron Thomas, 23, of Ohio, were killed in a suspected incident of friendly fire.

A statement by United States Forces - Afghanistan, said the raid also killed several other high-ranking members of the organisation along with 35 fighters.

Hasib took over as leader of ISIS-K, an ISIS affiliate in Afghanistan, last year after predecessor Hafiz Saeed Khan was killed by a US drone strike.

General John Nicholson said: 'This successful joint operation is another important step in our relentless campaign to defeat ISIS-K in 2017.

'This is the second ISIS-K emir we have killed in nine months, along with dozens of their leaders and hundreds of their fighters.

US commanders in Afghanistan said the raid killed several high-ranking members of ISIS-K along with 35 of their fighters

'For more than two years, ISIS-K has waged a barbaric campaign of death, torture and violence against the Afghan people, especially those in southern Nangarhar.'

Hasib was responsible for directing the Kabul National Military Hospital on March 8 which killed more than 100 Afghan civilians, the statement said.

He was also responsible for beheading tribal elders in front of their families and kidnapping women and girls before forcing them to marry his fighters,

General Nicholson added: 'I applaud the tremendous skill and courage shown by our Afghan partners.

'This fight strengthens our resolve to rid Afghanistan of these terrorists and bring peace and stability to this great country.

'Any ISIS member that comes to Afghanistan will meet the same fate.'

The compound is located close to where the 'Mother Of All Bombs' was dropped on an ISIS tunnel network on April 13.