The military has been accused of going on a rampage after recapturing a key city from rival forces.