A senior ISIS bomb expert accidentally blew himself and a fellow terrorist up as they attempted to plant roadside explosives.

The bungling Islamic State militant, nicknamed Abu Abdullah, died alongside his companion in the town of Shirqat, Iraq.

He was part of one of the terror group's top booby-trapping cells and has been actively involved in bombings in recent months.

Abu Abdullah was responsible for roadside bombs, like this one in November which exploded outside the German consulate in Mazar-i-Sharif, northern Afghanistan

A source told Alsumaria News Abu Abdullah was a second-tier ISIS leader, according to Iraqi News.

Local news outlets reported the death had been confirmed by a security official.

As they come under increasing pressure from coalition forces who are attempting to liberate terrorists-held areas in the Middle East, hapless jihadis appear to be helping out their opposition.

Last month, a n expert Taliban bomb maker accidentally killed himself and his four sons in while building a cache of roadside bombs in northern Afghanistan.

Kamal Khan, a Taliban commander in the northern part of the Sar-i-Pul province of Afghanistan, died overnight while making explosive devices in his home.

Zabiullah Amani, spokesman for the provincial governor said Khan was believed to be the Taliban's best maker of roadside bombs in the region.

The bombs created by the terrorists frequently hit civilians, including children STOCK PHOTO

These bombs have been frequently and effectively used for years against both government security forces and international troops in Afghanistan.

While the Taliban's heartland is in southern Afghanistan, they have become increasingly active and dangerous in the north of the country as well.

Afghan civilians are paying a heavy price for the escalating conflict across the country.

A total of 2,562 civilians were killed and another 5,835 wounded in the first nine months of 2016, according to a UN report.