NORFOLK, Va. — A member of the Navy SEALs who pleaded guilty on Thursday to restraining an Army Green Beret with duct tape in 2017 as he was being fatally strangled by another commando in Mali was sentenced to a year in military prison.

Chief Petty Officer Adam C. Matthews told a military court that he had agreed to help “remediate,” or haze, Staff Sgt. Logan J. Melgar as punishment for leaving behind other commandos instead of leading them to a social gathering, as he had promised.

At the time, the commandos were in Bamako, the Malian capital, on a secret assignment.

During the struggle, another SEAL member, Special Operations Chief Tony E. DeDolph, put Sergeant Melgar in a chokehold, Chief Matthews said during his testimony. As they were drinking, the other commandos decided to confront the sergeant, Chief Matthews said.

A military medical examiner has ruled that Sergeant Melgar’s death was a “homicide by asphyxiation,” or strangulation.