FORT BRAGG, N.C. (AP) — A soldier accused of driving Pvt. Danny Chen, a Chinese-American from Manhattan, to suicide last fall while deployed in Afghanistan received a six-month prison sentence on Monday after pleading guilty hours earlier to reduced charges in a court-martial here.

The soldier, Specialist Ryan J. Offutt of Greenville, Pa., pleaded guilty to one count of hazing and two specifications of maltreatment. The authorities say Private Chen, 19, shot himself after being hazed over his ethnicity. Specialist Offutt was among eight soldiers charged in the case and the second to go before a military court.

Specialist Offutt will also be demoted to private and receive a bad conduct discharge. He had faced several more serious charges, including negligent homicide.

Last month, Sgt. Adam M. Holcomb was convicted of maltreatment of Private Chen, but he was acquitted of being a cause of his death. Sergeant Holcomb was sentenced to 30 days in a military prison, demotion of one rank and forfeiture of more than $1,100 in pay.