Now playing
01:53
Terror suspects escape in Iraq prison break
PHOTO: Fred Pleitgen/CNN
Now playing
03:21
US planes spy on ISIS from edge of space
inside mosuls liberated neighborhoods black pkg_00000000.jpg
inside mosuls liberated neighborhoods black pkg_00000000.jpg
Now playing
02:51
Inside liberated Mosul neighborhoods
Members of the Iraqi forces watch Donald Trump giving a speech after he won the US president elections in the village of Arbid on the southern outskirts of Mosul on November 9, 2016, as they rest in a house during the ongoing military operation to retake Mosul from the Islamic State (IS) group.
PHOTO: AHMAD AL-RUBAYE/AFP/AFP/Getty Images
Members of the Iraqi forces watch Donald Trump giving a speech after he won the US president elections in the village of Arbid on the southern outskirts of Mosul on November 9, 2016, as they rest in a house during the ongoing military operation to retake Mosul from the Islamic State (IS) group.
Now playing
02:15
How will Trump handle Iraq?
PHOTO: kurdistan 24
Now playing
02:16
ISIS ambush in Kirkuk
PHOTO: google maps
Now playing
02:17
US service member killed in action in northern Iraq
isis drone use mosul nick paton walsh dnt_00001722.jpg
isis drone use mosul nick paton walsh dnt_00001722.jpg
Now playing
02:43
ISIS using drones in battle for Mosul
iraq forces mosul michael holmes lkv_00015709.jpg
iraq forces mosul michael holmes lkv_00015709.jpg
Now playing
03:27
Iraqi-led forces push into ISIS territory
mosul most intense day fighting damon dnt _00004210.jpg
mosul most intense day fighting damon dnt _00004210.jpg
Now playing
02:44
Mosul: Most intense day of fighting
 Iraqi Troops Mosul damon lkl_00003730.jpg
Iraqi Troops Mosul damon lkl_00003730.jpg
Now playing
01:53
Iraqi troops enter Christian town on outskirts of Mosul
Iraqi refugees debunk ISIS' portrayal of Mosul
PHOTO: CNN
Iraqi refugees debunk ISIS' portrayal of Mosul
Now playing
02:12
Iraqi refugees debunk ISIS' portrayal of Mosul
Iraq Mosul ISIS tunnels Damon lkl _00020013.jpg
Iraq Mosul ISIS tunnels Damon lkl _00020013.jpg
Now playing
02:24
Exploring ISIS tunnels near Mosul
battle for mosul paton walsh pkg_00023629.jpg
battle for mosul paton walsh pkg_00023629.jpg
Now playing
01:16
Dramatic moments from the battle for Mosul

Story highlights

Officials: 40 prisoners, including 9 facing terror charges, have broken out after deadly clashes with guards

ISIS claims its fighters on the outside coordinated with inmates

Elsewhere, 26 are wounded in a car bombing in central Baghdad's Karrada district, police say

(CNN) —  

Dozens of prisoners – including some facing terrorism charges – were able to break out after deadly clashes with prison guards in the town of Al-Khalis, north of Baghdad, on Friday, Iraq’s Ministry of Interior spokesman told CNN.

Two versions emerged regarding how the breakout happened. According to Brig. Gen. Saad Maan, the prison break began when prisoners were able to seize a weapon from a guard and clashed with other guards.

ISIS, however, said it was responsible for the prison break, saying its fighters on the outside coordinated with its members who were inside the facility.

According to a statement posted on several prominent ISIS accounts on Twitter, fighters on the outside blew up military and security vehicles near the prison with improvised bombs. At the same time, ISIS members imprisoned on the inside took control of a weapons storage room and started the gunfight.

In all, 40 prisoners escaped, including nine who had been in custody on terrorism charges, police spokesman Brig. Gen. Ghalib Atiya told CNN.

Five prison guards and 30 inmates were killed in the clashes, Maan said.

Elsewhere in Diyala province, 11 people were killed and 15 wounded in twin explosions in the town of Baladrouz late Friday, Atiya added.

The two car bombs exploded in a busy commercial street in the town north of Baghdad.

Meanwhile, four people were killed on Saturday when a powerful car bomb exploded in Baghdad, near Shiite Muslims preparing for an annual pilgrimage, police officials said.

Twenty-six people were wounded in the blast in the capital city’s Karrada district, according to the officials. It happened near the site where people were getting ready to set off next week for a traditional pilgrimage to commemorate the death of Imam Moussa al-Kadhim, one of 12 revered imams in Shiite Islam.

It was not immediately clear who was responsible for the violence.

While Baghdad hasn’t been hit as hard by ISIS as other parts of the country, it has seen plenty of bloodshed in recent years – much of it tied to persisting tensions between Sunni and Shiite Muslims.

Shiite pilgrims have often been among the victims; thousands have been killed or wounded over the past decade.

CNN’s Hamdi Alkhshali contributed to this report.