KABUL (Reuters) - The number of civilians killed in Afghanistan reached a record in the first half of the year, despite last month’s ceasefire, with a surge in suicide attacks claimed by Islamic State, the United Nations said on Sunday.

Slideshow ( 2 images )

Deaths rose 1 percent to 1,692, although injuries dropped 5 percent to 3,430, the U.N. Assistance Mission in Afghanistan said in its latest civilian casualty report. Overall civilian casualties were down 3 percent.

Hopes that peace may one day be agreed in Afghanistan were raised last month by a three-day truce over the Eid al-Fitr holiday which saw unprecedented scenes of Taliban fighters mingling with security forces in Kabul and other cities.

“The brief ceasefire demonstrated that the fighting can be stopped and that Afghan civilians no longer need to bear the brunt of the war,” Tadamichi Yamamoto, the senior U.N. official in Afghanistan said in a statement.

But with heavy fighting seen across the country during the first half the year and repeated suicide attacks in Kabul and major provincial cities like Jalalabad, the report underlines the dire security situation facing Afghanistan.

It also pointed to increased activity by Islamic State, reflected in a doubling in casualties in Nangarhar, the eastern province whose capital is Jalalabad, where the militant group has conducted a series of attacks over recent months.

MINISTRY ATTACKED

The main causes of casualties were ground engagements between security forces and militants, roadside bombs, as well as suicide and other so-called complex attacks, which caused 22 percent more casualties than in the same period last year.

Hundreds of civilians were killed in attacks on targets as diverse as Shi’ite shrines, offices of government ministries and aid groups, sports events and voter registration stations.

On Sunday, the day the report was issued, at least seven people were killed and more than 15 wounded by a suicide attack as staff at a government ministry were going home.

The report said two thirds of civilian casualties were caused by anti-government forces, mainly the Taliban and Islamic State.

Fifty-two percent of the casualties from suicide and complex attacks were attributed to Islamic State, often known as Daesh, while 40 percent were attributed to the Taliban.

The Taliban, who say they take great care to avoid civilian casualties, issued a statement rejecting the report as “one sided” and accused UNAMA of working in close coordination with U.S. authorities to push propaganda against them.

With parliamentary elections scheduled for October, there is concern about more violence as polling day approaches.

The Taliban, fighting to restore their version of strict Islamic law, have rejected President Ashraf Ghani’s offer of peace talks, demanding that foreign forces leave Afghanistan.