Navy Special Operations Chief Edward Gallagher, right, walks with his wife, Andrea Gallagher as they arrive to military court on Naval Base San Diego, Monday, June 24, 2019, in San Diego. Trial continues 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)

Navy Special Operations Chief Edward Gallagher, right, walks with his wife, Andrea Gallagher as they arrive to military court on Naval Base San Diego, Monday, June 24, 2019, in San Diego. Trial continues in the court-martial of the decorated Navy SEAL, who is accused of stabbing towhen he confessed to the killing.

ADVERTISEMENT

Corey Scott testified Thursday that he killed the victim by plugging his breathing tube after Gallagher unexpectedly stabbed the fighter while treating him for injuries suffered in an air strike outside Mosul in 2017.

ADVERTISEMENT

Scott testified that the militant, described as an adolescent boy, would have survived the stabbing. Scott previously told investigators that there was nothing he could do to save the boy’s life.

On the witness stand, Scott said he decided to asphyxiate the captive because he assumed he would later be tortured and killed by Iraqi forces who captured him and brought him to Navy medics for treatment.

Gallagher, 40, is charged with murder in the killing of the boy and attempted murder for allegedly gunning down civilians from his sniper’s post.

He has