President Trump ordered Navy officials on Wednesday, July 31, to strip medals from prosecutors who tried the case against Special Operations Chief Edward Gallagher, who was charged but acquitted in the death of a captured ISIS fighter in Iraq.

“The Prosecutors who lost the case against SEAL Eddie Gallagher (who I released from solitary confinement so he could fight his case properly), were ridiculously given a Navy Achievement Medal,” the president wrote in a tweet. “Not only did they lose the case, they had difficulty with respect to information that may have been obtained from opposing lawyers and for giving immunity in a totally incompetent fashion.”

“I have directed the Secretary of the Navy Richard Spencer & Chief of Naval Operations John Richardson to immediately withdraw and rescind the awards. I am very happy for Eddie Gallagher and his family!”

Chief Gallagher was turned in by his junior platoon members who accused him of murdering a captured and wounded fighter in Iraq in 2017. The prosecution garnered international media attention as the lead prosecutor was removed from the case after being caught using software to track emails sent to defense lawyers.

In July, Gallagher was found not guilty of first-degree murder in the death of the captive and convicted of only a single charge, related to posing for photographs with the body of the teenage captive. Gallagher was sentenced to four months’ confinement and a reduction in rank, to special operator first class, reported The New York Times.

Nonetheless, prosecutors who worked and lost on the case were awarded Navy Achievement Medals on July 10 for their “superb results.” Ten awards were given by the Navy’s Region Southwest Legal Service Office in San Diego, seven Navy achievement medals and three letters of accommodations, according to Task and Purpose.