KABUL, Afghanistan  It was an engaging idea.

Hundreds of children would gather on the iconic Nader Khan Hill in the capital, Kabul, on a gorgeous Friday in September and fly kites emblazoned with slogans lauding the rule of law and equality for women. The kites, along with copies of the Afghan Constitution and justice-themed comic books, would be gifts of the United States, part of a $35 million effort “to promote the use of Afghanistan’s formal justice system.”

“The mere portrait of 500 kites soaring in the winds, against a backdrop of beautiful mountain ranges, is enough to instill hope in even the most disheartened observer of the war-torn country,” said a promotional release for the festival, organized by an American contractor for the United States Agency for International Development.

What could possibly go wrong?

Almost everything but the wind.

For starters, Afghan policemen hijacked the event, stealing dozens of kites for themselves and beating children with sticks when they crowded too close to the kite distribution tent. To be fair, the children were a little unruly, but they were also small.

Sometimes the officers just threatened them with sticks, and other times slapped them in the face or whacked them with water bottles. “I told them to stop the policemen from taking the kites,” said Shakila Faqeeri, a communications adviser for the contractor, DPK Consulting.