Get breaking news alerts and special reports. The news and stories that matter, delivered weekday mornings.

More than 10,000 Afghan civilians were killed or wounded in violence last year, the United Nations said Thursday, with militant bombings the main cause while airstrikes by U.S. and government forces inflicted a rising toll.

An Afghan man reacts at the site of a massive blast in Kabul's diplomatic quarter on May 31, 2017. Omar Sabhani / Reuters file

President Donald Trump introduced a more aggressive strategy in Afghanistan in August including a surge in air strikes. The militants have responded with attacks in Kabul in the past few weeks, killing nearly 150 people.

Let our news meet your inbox. The news and stories that matters, delivered weekday mornings. This site is protected by recaptcha

The overall civilian toll last year of 3,438 killed and 7,015 wounded was 9 percent lower than the previous year. But the figures highlighted the high number of casualties caused by militant bombs, the United Nations said.

"Attacks where anti-government elements deliberately targeted civilians accounted for 27 per cent of the total civilian casualties ... mainly from suicide and complex attacks," the United Nations said in a statement.

The deadliest attack since the U.N. mission began recording civilian casualties in 2009 was in Kabul on May 31 when a suicide attacker detonated a truck bomb, killing 92 civilians and injuring 491.

The air campaign by international and government forces accounted for 6 percent of civilian casualties in 2017, with 295 people killed and 336 wounded, a 7 percent increase over the previous year.

Related: Trump takes it to the Taliban; the Taliban takes it out on civilians

Women and children were heavily affected by the violence with 359 women killed last year, an increase of 5 percent over the previous year - and 865 injured.

The number of child casualties — 861 killed and 2,318 wounded — was 10 percent lower than 2016.

"Afghan civilians have been killed going about their daily lives - traveling on a bus, praying in a mosque, simply walking past a building that was targeted," U.N. High Commissioner for Human Rights Zeid Ra'ad al Hussein said in a statement.

"Such attacks are prohibited under international humanitarian law and are likely, in most cases, to constitute war crimes. The perpetrators must be identified and held accountable."