Navy Special Operations Chief Edward Gallagher, left, walks with his wife, Andrea Gallagher as they arrive to military court on Naval Base San Diego, Monday, July 1, 2019, in San Diego. The trial continued Monday in the court-martial of the decorated Navy SEAL, who is accused of stabbing to death a wounded teenage Islamic State prisoner and wounding two civilians in Iraq in 2017. He has pleaded not guilty to murder and attempted murder, charges that carry a potential life sentence. (AP Photo/Julie Watson)
PHOTO: Julie Watson/AP
Navy Special Operations Chief Edward Gallagher, left, walks with his wife, Andrea Gallagher as they arrive to military court on Naval Base San Diego, Monday, July 1, 2019, in San Diego. The trial continued Monday in the court-martial of the decorated Navy SEAL, who is accused of stabbing to death a wounded teenage Islamic State prisoner and wounding two civilians in Iraq in 2017. He has pleaded not guilty to murder and attempted murder, charges that carry a potential life sentence. (AP Photo/Julie Watson)
Now playing
01:22
Jury finds Navy SEAL Gallagher not guilty of murder
FBI Director Christopher Wray testifies before the Senate Judiciary Committee on the January 6th insurrection, in the Hart Senate Office Building on Capitol Hill in Washington, DC on March 2, 2021. (Photo by MANDEL NGAN / POOL / AFP) (Photo by MANDEL NGAN/POOL/AFP via Getty Images)
PHOTO: MANDEL NGAN/POOL/AFP via Getty Images
FBI Director Christopher Wray testifies before the Senate Judiciary Committee on the January 6th insurrection, in the Hart Senate Office Building on Capitol Hill in Washington, DC on March 2, 2021. (Photo by MANDEL NGAN / POOL / AFP) (Photo by MANDEL NGAN/POOL/AFP via Getty Images)
Now playing
02:55
Watch FBI director debunk conspiracy theories pushed by Trump supporters
WASHINGTON, DC - FEBRUARY 10: Neera Tanden, nominee for Director of the Office of Management and Budget (OMB), testifies at her confirmation hearing before the Senate Budget Committee on February 10, 2021 at the U.S. Capitol in Washington, DC. Tanden helped found the Center for American Progress, a policy research and advocacy organization and has held senior advisory positions in Democratic politics since the Clinton administration. (Photo by Anna Moneymaker-Pool/Getty Images)
PHOTO: Anna Moneymaker-Pool/Getty Images
WASHINGTON, DC - FEBRUARY 10: Neera Tanden, nominee for Director of the Office of Management and Budget (OMB), testifies at her confirmation hearing before the Senate Budget Committee on February 10, 2021 at the U.S. Capitol in Washington, DC. Tanden helped found the Center for American Progress, a policy research and advocacy organization and has held senior advisory positions in Democratic politics since the Clinton administration. (Photo by Anna Moneymaker-Pool/Getty Images)
Now playing
01:33
Neera Tanden releases statement on pulling her nomination
PHOTO: KCAL/KCBS
Now playing
01:41
Multiple people killed in crash after SUV and semitruck collide
nigeria kidnapped schoolgirls released Busari pkg intl ldn vpx_00000423.png
nigeria kidnapped schoolgirls released Busari pkg intl ldn vpx_00000423.png
Now playing
02:09
Tears of joy and relief as 279 Nigerian schoolgirls return home
New satellite images taken by Maxar show that North Korea sometime in the past year built a structure that may be intended to obscure entrances to an underground facility where nuclear weapons or nuclear weapons components are stored.
PHOTO: Courtesy Maxar
New satellite images taken by Maxar show that North Korea sometime in the past year built a structure that may be intended to obscure entrances to an underground facility where nuclear weapons or nuclear weapons components are stored.
Now playing
01:47
See images US intelligence claims is a secret weapons site
NEW YORK, NY - JULY 23: New York Gov. Andrew Cuomo speaks during the daily media briefing at the Office of the Governor of the State of New York on July 23, 2020 in New York City. The Governor said the state liquor authority has suspended 27 bar and restaurant alcohol licenses for violations of social distancing rules as public officials try to keep the coronavirus outbreak under control. (Photo by Jeenah Moon/Getty Images)
PHOTO: Jeenah Moon/Getty Images
NEW YORK, NY - JULY 23: New York Gov. Andrew Cuomo speaks during the daily media briefing at the Office of the Governor of the State of New York on July 23, 2020 in New York City. The Governor said the state liquor authority has suspended 27 bar and restaurant alcohol licenses for violations of social distancing rules as public officials try to keep the coronavirus outbreak under control. (Photo by Jeenah Moon/Getty Images)
Now playing
02:29
NYT: Third woman comes forward against Gov. Andrew Cuomo
PHOTO: Courtesy Penguin Random House
Now playing
01:00
These 6 Dr. Seuss books won't be published anymore
John King Magic Wall 0301
PHOTO: CNN
John King Magic Wall 0301
Now playing
03:00
US coronavirus numbers coming down, but not enough
FILE - In this Jan. 29, 2011 file photo, Saudi journalist Jamal Khashoggi speaks on his cellphone at the World Economic Forum in Davos, Switzerland. Saud Al-Mojeb, Saudi Arabia's top prosecutor, is recommending the death penalty for five suspects charged with ordering and carrying out the killing of Saudi writer Jamal Khashoggi. Al-Mojeb told a press conference in Riyadh Thursday, Nov. 15, 2018,  that Khashoggi's killers had been planning the operation since September 29, three days before he was killed inside the kingdom's consulate in Istanbul. (AP Photo/Virginia Mayo, File)
PHOTO: Virginia Mayo/AP
FILE - In this Jan. 29, 2011 file photo, Saudi journalist Jamal Khashoggi speaks on his cellphone at the World Economic Forum in Davos, Switzerland. Saud Al-Mojeb, Saudi Arabia's top prosecutor, is recommending the death penalty for five suspects charged with ordering and carrying out the killing of Saudi writer Jamal Khashoggi. Al-Mojeb told a press conference in Riyadh Thursday, Nov. 15, 2018, that Khashoggi's killers had been planning the operation since September 29, three days before he was killed inside the kingdom's consulate in Istanbul. (AP Photo/Virginia Mayo, File)
Now playing
02:52
3 names mysteriously removed from Khashoggi Intel report
Protesters take cover behind homemade shields as tear gas is fired during a demonstration against the military coup in Yangon on March 1, 2021. (Photo by STR / AFP) (Photo by STR/AFP via Getty Images)
PHOTO: STR/AFP/AFP via Getty Images
Protesters take cover behind homemade shields as tear gas is fired during a demonstration against the military coup in Yangon on March 1, 2021. (Photo by STR / AFP) (Photo by STR/AFP via Getty Images)
Now playing
02:16
Footage shows tear gas, flash bangs used on protesters in Myanmar
New York Gov. Andrew Cuomo speaks during a news conference at a COVID-19 vaccination site in the Brooklyn borough of New York, Monday, Feb. 22, 2021. (AP Photo/Seth Wenig, Pool)
PHOTO: Seth Wenig/Pool/AP
New York Gov. Andrew Cuomo speaks during a news conference at a COVID-19 vaccination site in the Brooklyn borough of New York, Monday, Feb. 22, 2021. (AP Photo/Seth Wenig, Pool)
Now playing
01:12
Gov. Andrew Cuomo responds to allegations of sexual harassment
 Psaki biden White House Khashoggi Saudi Arabia sotu bash vpx _00011629.png
PHOTO: CNN
Psaki biden White House Khashoggi Saudi Arabia sotu bash vpx _00011629.png
Now playing
03:42
Bash to Psaki: Why hasn't Saudi Arabia been held accountable for murder of Khashoggi?
NEW YORK, NY - JULY 23: New York Gov. Andrew Cuomo speaks during the daily media briefing at the Office of the Governor of the State of New York on July 23, 2020 in New York City. The Governor said the state liquor authority has suspended 27 bar and restaurant alcohol licenses for violations of social distancing rules as public officials try to keep the coronavirus outbreak under control. (Photo by Jeenah Moon/Getty Images)
PHOTO: Jeenah Moon/Getty Images
NEW YORK, NY - JULY 23: New York Gov. Andrew Cuomo speaks during the daily media briefing at the Office of the Governor of the State of New York on July 23, 2020 in New York City. The Governor said the state liquor authority has suspended 27 bar and restaurant alcohol licenses for violations of social distancing rules as public officials try to keep the coronavirus outbreak under control. (Photo by Jeenah Moon/Getty Images)
Now playing
04:04
NYT: Second former aide accuses Gov. Andrew Cuomo of sexual harassment
PHOTO: CNN Weather
Now playing
02:23
Over 25 million people under threat for severe storms and flash flooding
House Speaker Nancy Pelosi
PHOTO: House TV
House Speaker Nancy Pelosi
Now playing
02:52
House passes Biden's $1.9 trillion Covid-19 relief package
Jeremy Lin
PHOTO: Getty Images
Jeremy Lin
Now playing
03:40
Ex-NBA star Jeremy Lin says he's been called 'coronavirus' on the court
(CNN) —  

Navy SEAL team leader Eddie Gallagher will be demoted in rank and his pay will be reduced for posing for a photo with a dead ISIS prisoner, a jury decided Wednesday.

Gallagher had been acquitted Tuesday of nearly all charges, including premeditated murder, in the death of a 12-year-old ISIS fighter in Iraq. But a jury of seven soldiers found him guilty of posing for a photo with the fighter.

A few hours after jurors returned to court Wednesday to deliberate over his sentence, they decided to reduce Gallagher’s rank from E7 to E6 and sentenced him to four months’ confinement.

He is not expected to spend time in custody. Gallagher had already served 201 days in custody and it would be applied as time served.

A courtroom sketch completed Wednesday that shows, from left to right, Andrea Gallagher, Special Operations Chief Eddie Gallagher, and Navy Judge Capt. Aaron Rugh.
PHOTO: Krentz Johnson
A courtroom sketch completed Wednesday that shows, from left to right, Andrea Gallagher, Special Operations Chief Eddie Gallagher, and Navy Judge Capt. Aaron Rugh.

As a result of Gallagher’s reduced rank and forfeiture, his pension will be reduced, though it’s unclear at this time by how much.

“He’s put 20 years of his life, the best years of his life into the Navy, and this affects what his retirement paycheck and benefits would be for the rest of this life and his ability to provide for his family,” said Gallagher’s lawyer, Tim Parlatore.

The jury delivered a stiffer sentence to Gallagher than the prosecution had requested. Prosecutors had only asked for a reduction in rank.

Gallagher, who did not testify during his trial, told jurors Wednesday that he takes “full responsibility” for his action on the day he appeared in the photo.

“This has put a black eye on the two communities I love: The United States Marine Corps and the Navy,” he said. “Most of all, it has put my family through hell the last two years.”

A courtroom sketch shows Special Operations Chief Eddie Gallagher addressing the jury on Wednesday.
PHOTO: Krentz Johnson
A courtroom sketch shows Special Operations Chief Eddie Gallagher addressing the jury on Wednesday.

Navy prosecutors said that Gallagher took the photo after fatally stabbing the detainee while he was being treated by US medics in 2017 in Mosul, Iraq.

Parlatore, who earlier called the verdict a “victory for justice” said Gallagher is now planning to retire.

“This has been a long and difficult process for him,” Parlatore told reporters on Wednesday. “He has been exonerated for the most serious charges and it’s time for him to be with his family.”

Gallagher’s wife had said the verdict meant her family was “finally vindicated” after being “terrorized” by a government that her husband had fought for.

“He’s fought every major enemy of the United States. He is a righteous and noble individual,” Andrea Gallagher said outside court Tuesday.

“I think this whole thing is disgusting. I want responsibility to be claimed by Naval Special Warfare.”

Earlier on Wednesday, President Donald Trump expressed sympathy for Gallagher after he was cleared of most of the charges.

“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.

Trump had helped get Gallagher moved to “less restrictive confinement” in March and was reportedly mulling a pardon for the SEAL.

CNN’s Nick Watt and Jack Hannah reported from San Diego. Nicole Chavez wrote this story in Atlanta.