GENEVA (Reuters) - About half the 2.6 million people displaced in Iraq after a three-year war with Islamic State militants are children and persisting violence hampers efforts to ease their suffering, the United Nations said on Friday.

FILE PHOTO: A displaced Iraqi boy plays at the Amriyat al Fallujah camp in Anbar Province, Iraq January 3, 2018. REUTERS/Khalid al-Mousily

While the Baghdad government last month declared victory over Islamic State after wresting back almost all the territory IS seized in 2014, persistent bombing and shooting attacks make it difficult to rebuild the lives of displaced people, according to UNICEF, the U.N. children’s agency.

“We believe that as a result of the conflict, a lack of investment over the years, and the poverty ... that there are 4 million children now in need across Iraq,” said Peter Hawkins, UNICEF chief representative in the country.

He told a Geneva news briefing by telephone from Baghdad that 1.3 million of the 2.6 million displaced by the often devastating fighting with Islamic State were children.

“While the fighting has come to an end in several areas, spikes of violence continue in others - just this week, three bombings went off in Baghdad,” UNICEF Regional Director Geert Cappelaere said in a statement.

“Violence is not only killing and maiming children; it is destroying schools, hospitals, homes and roads. It is tearing apart the diverse social fabric and the culture of tolerance that hold communities together.”Hawkins said UNICEF was also helping children of alleged IS militants now in detention by providing comfort and legal aid, and is trying to reunite those separated from their families, including those abroad.

The issue of civilians uprooted from Sunni Muslim areas previously under control of Sunni IS jihadists has become the latest bone of sectarian-tinged political contention in Iraq.

Sunni politicians are lobbying for postponing parliamentary elections due in May to allow the displaced to return to their hometowns to cast their ballots there.

Shi’ite Muslim politicians including Prime Minister Haider al-Abadi insist on the vote taking place as planned on May 12.

The United States called on Thursday for the elections to be held on time, saying that delaying them “set a dangerous precedent, undermining the constitution and damaging Iraq’s long-term democratic development”.