SANTA CLARA (KCBS)— Lance Cpl. Jacob Jacoby admitted that he punched and kicked fellow Marine Lance Cpl. Harry Lew of Santa Clara just before the 21-year-old killed himself in Afghanistan.

In a special court-martial hearing on Monday, Jacoby was sentenced to 30 days confinement and his pay was cut.

READ MORE: Oakland Police Arrest Homicide Suspect Who Fatally Shot Male Victim, Fired at Firefighters

As part of a plea deal, prosecutors withdrew charges that Jacoby humiliated and threatened Lew for repeatedly falling asleep while on watch for Taliban insurgents.

Lew was the nephew of U.S. Rep. Judy Chu from Southern California. She honored her nephew on the House floor.

READ MORE: San Francisco Police Arrest Man Suspected of Carjacking Uber Driver in SoMa

KCBS’ Matt Bigler Reports:

“Harry Lew was a good son and brother a friend to many, a great performer and a dedicated soldier by all who knew him. His ready smile and warm attitude will be remembered by all who knew him. His sacrifice for his country will never be forgotten,” she said.

Two other Marines accused of hazing Lew before he shot himself will have separate court martials.

MORE NEWS: 49ers Playoffs: Faithful Gear Up As Showdown Vs. Packers Nears

(Copyright 2012 by CBS San Francisco. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed.)