BERLIN (AP) — German prosecutors say they've charged a 26-year-old former Afghan officer with war crimes for allegedly abusing prisoners and defiling the corpse of a man he boasted he'd "killed like a donkey."

Ahmad Zaheer D., whose last name wasn't given in line with privacy laws, is accused of shaking two prisoners by the hair during an interrogation around late 2013 and punching one, while another soldier hit a third with a hose.

Federal prosecutors said Tuesday that the suspect brought the corpse of a high-ranking enemy commander into a town in March 2014, telling villagers he'd killed him and putting a meat hook into the corpse's head, then stringing the body up with a rope.

He was arrested Oct. 25 near Munich. It wasn't clear when he came to Germany.