President Donald Trump took to Twitter early Wednesday, July 3, to congratulate Navy SEAL Edward “Eddie” Gallagher, who was acquitted Tuesday on all murder charges in his war crimes trial in San Diego.

“Congratulations to Navy Seal Eddie Gallagher, his wonderful wife Andrea, and his entire family. You have been through much together. Glad I could help!” Trump tweeted.

Gallagher, 40, a Special Warfare Chief who has served for 19 years and has been awarded two bronze stars, was found not guilty, Tuesday, for the premeditated murder of a 17-year-old ISIS fighter, as well as five other war crimes he was accused of committing during a 2017 deployment to Iraq.

He was arrested Sept. 11, 2018, at Camp Pendleton’s Intrepid Spirit Center where he was undergoing a medical screening.

Gallagher was defended by Tim Parlatore and Marc Mukasy, who is a member of Trump’s legal team. Former New York City Police Commissioner and Trump friend Bernie Kerik also gave his support to the Gallagher family and championed a “Free Eddie” campaign. The campaign raised money for Gallagher’s defense from supporters nationwide.

The national notoriety of the case also drew the attention of dozens of congressional Republicans who brought it to Trump’s attention. The president had Gallagher moved from the brig to more favorable confinement at a Navy hospital in the spring and was reportedly considering a pardon for him around Memorial Day.

On Tuesday, the seven-man jury — made up of combat Marines and Navy sailors — found Gallagher guilty only of posing with a human casualty. Gallagher faces his sentencing Wednesday on the lone charge and could face up to four months imprisonment along with a reduction in rank, forfeiture of two-thirds of his pay and a reprimand.

But because he has already served nine months in confinement, he became a free man Tuesday.

“I thank God, and my legal team and my wife,” Gallagher said as he stood in front of the courthouse Tuesday, arm-in-arm with his wife and next to his parents and brother.