From Wikpedia...
"Calley claimed that he was following orders from his captain, Ernest Medina; Medina denied giving the orders and was acquitted at a separate trial. Most of the soldiers involved in the My Lai incident were no longer enlisted. Of the 26 men initially charged, Lt. Calley's was the only conviction."