Sheep blackened by oil fires set by Islamic State militants graze in Qayara on Nov. 28, 2016.

The Caliphate's Last Days

Scenes from the lives of ordinary Iraqis and security forces as the country battles to oust Islamic State militants from its urban strongholds. (AP Photos/Maya Alleruzzo)

 Sheep blackened by oil fires set by Islamic State militants graze in Qayara on Nov. 28, 2016.

Sheep blackened by oil fires set by Islamic State militants graze in Qayara on Nov. 28, 2016.

 A girl with a shaved head cries as the family flees the al-Rifai neighborhood while Iraqi special forces battle Islamic State militants in Mosul on May 17, 2017.

A girl with a shaved head cries as the family flees the al-Rifai neighborhood while Iraqi special forces battle Islamic State militants in Mosul on May 17, 2017.

 A man pushes two children in a wheelchair as they flee heavy fighting between Islamic State militants and Iraqi special forces in  Mosul on May 10, 2017. 

A man pushes two children in a wheelchair as they flee heavy fighting between Islamic State militants and Iraqi special forces in  Mosul on May 10, 2017. 

 Civilians flee heavy fighting between Islamic State militants and Iraqi special forces in Mosul on May 10, 2017.

Civilians flee heavy fighting between Islamic State militants and Iraqi special forces in Mosul on May 10, 2017.

 Boys fleeing Islamic State-held Hit, Iraq, wait at a checkpoint near Ramadi on March 20, 2016. 

Boys fleeing Islamic State-held Hit, Iraq, wait at a checkpoint near Ramadi on March 20, 2016. 

 An Iraqi commando plays the role of an Islamic State militant in a training exercise ahead of the operation to re-take Mosul from IS, in Baghdad on Aug. 13, 2016. 

An Iraqi commando plays the role of an Islamic State militant in a training exercise ahead of the operation to re-take Mosul from IS, in Baghdad on Aug. 13, 2016. 

 A family's house lies in ruins in Ramadi on March 20, 2016, weeks after the city was retaken from the Islamic State group. Entire city blocks were leveled by fighting, airstrikes and the militants, who blew up buildings as they retreated.

A family's house lies in ruins in Ramadi on March 20, 2016, weeks after the city was retaken from the Islamic State group. Entire city blocks were leveled by fighting, airstrikes and the militants, who blew up buildings as they retreated.

 An Iraqi special forces soldier takes part in training for the operation to re-take Mosul from Islamic State militants, in Baghdad on Aug. 13, 2016.

An Iraqi special forces soldier takes part in training for the operation to re-take Mosul from Islamic State militants, in Baghdad on Aug. 13, 2016.

 Firemen take a break from fighting an oil fire set by Islamic State militants in Qayara on Nov. 28, 2016. 

Firemen take a break from fighting an oil fire set by Islamic State militants in Qayara on Nov. 28, 2016. 

 The altar of a church in Hamdaniya that was gutted by Islamic State militants is seen on Nov. 5, 2016, recently liberated after more than two years of IS rule.

The altar of a church in Hamdaniya that was gutted by Islamic State militants is seen on Nov. 5, 2016, recently liberated after more than two years of IS rule.

 A boy injured by an Islamic State militant drone is checked by a doctor in Mosul on Feb. 14, 2017. His brother died in the attack. 

A boy injured by an Islamic State militant drone is checked by a doctor in Mosul on Feb. 14, 2017. His brother died in the attack. 

 A bride passes through a metal detector on her wedding night at the five-star Babylon Hotel in Baghdad on March 12, 2016. 

A bride passes through a metal detector on her wedding night at the five-star Babylon Hotel in Baghdad on March 12, 2016. 

 Iraqi workers mop the floor at the Assyrian Hall of the Iraq National Museum in Baghdad on March 13, 2016. 

Iraqi workers mop the floor at the Assyrian Hall of the Iraq National Museum in Baghdad on March 13, 2016. 

 Heavy damage at the library of the University of Anbar in Ramadi that served as headquarters for the Islamic State group is seen on March 20, 2016. 

Heavy damage at the library of the University of Anbar in Ramadi that served as headquarters for the Islamic State group is seen on March 20, 2016. 

 Iraqis wait in a long line to cast their vote in the country's parliamentary elections at a polling site in a battle-damaged building in west Mosul, Iraq on May 12, 2018. This was the first parliamentary election since the Islamic State group was dr

Iraqis wait in a long line to cast their vote in the country's parliamentary elections at a polling site in a battle-damaged building in west Mosul, Iraq on May 12, 2018. This was the first parliamentary election since the Islamic State group was driven from the city.(AP Photo/Maya Alleruzzo)