A Marine told a military court at his sentencing Wednesday that he was "very truly sorry" for his role in the killing of an Iraqi civilian last spring.

Pfc. John J. Jodka III was part of a squad of seven Marines and a Navy corpsman accused of kidnapping a man in the town of Hamdania, west of Baghdad, taking him to a roadside hole and shooting him, then trying to cover up the killing.

Jodka, 20, pleaded guilty Oct. 27 to assault and conspiracy to obstruct justice and agreed to testify. In exchange, prosecutors dropped other charges including murder.

Click here to visit FOXNews.com's Iraq center.

Speaking in a firm voice, Jodka said he was sorry for the pain and suffering he caused the family of 52-year-old Hashim Ibrahim Awad, and for the troubles he caused his own family.

"Thirdly, I apologize to my Marine Corps whose highest ideals I have failed to uphold," Jodka said.

A prison term established in the pretrial agreement had not yet been revealed. In this process the judge does not know the terms of the deal. If sentenced by the judge to a longer term, Jodka would not be liable to serve the extra time.

Prosecutors say the troops intended to kidnap a known insurgent, but when they couldn't find him they seized Awad instead.

Under questioning by his civilian attorney, Jane Siegel, Jodka said he thought the man who was shot on the night of April 26 was a known insurgent. Asked if he would have fired had he known the man was not, Jodka replied: "absolutely not."

Jodka described how, as the youngest and lowest ranking member of the squad, he looked up to fire team leader Cpl. Trent Thomas and squad leader Sgt. Lawrence Hutchins III for guidance and advice while in combat.

He said he had received little counterinsurgency training and said his squad's Arabic language interpreter had quit, leaving them unable to communicate with Iraqis.

The Navy corpsman and two other Marines also have made plea agreements. The corpsman, Petty Officer 3rd Class Melson J. Bacos, was sentenced to 10 years in prison but will only serve one because of his plea agreement.