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.

In the shadow of the Islamic State group

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)

 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.

 A family is seen through an Iraqi special forces humvee as they flee heavy fighting to wrest the al-Tanek neighborhood of Mosul from IS militants on April 18, 2017. 

A family is seen through an Iraqi special forces humvee as they flee heavy fighting to wrest the al-Tanek neighborhood of Mosul from IS militants on April 18, 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.

 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.

 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. 

 Women from Mosul queue for permission at a checkpoint on Feb. 17, 2017. 

Women from Mosul queue for permission at a checkpoint on Feb. 17, 2017. 

 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. 

 Combat boots lie at the site of fierce fighting between Islamic State militants and Iraqi security forces in Ramadi on March 20, 2016. 

Combat boots lie at the site of fierce fighting between Islamic State militants and Iraqi security forces in Ramadi 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. 

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. 

 Iraqi policemen ride a motorbike in central Ramadi, weeks after fierce battles between Islamic State militants and Iraqi security forces for control of the city, on March 20, 2016. 

Iraqi policemen ride a motorbike in central Ramadi, weeks after fierce battles between Islamic State militants and Iraqi security forces for control of the city, on March 20, 2016.