BAGHDAD - A U.S. military court convicted an Iraqi-Canadian translator of several charges in connection with a stabbing incident last February and sentenced him to five months in jail.

It was the first U.S. military prosecution of a civilian since the Vietnam War.

Alaa (Alex) Mohammad Ali pleaded guilty Sunday to wrongfully taking a knife owned by a U.S. soldier, obstruction of justice and lying to investigators, the military said.

He had been charged with aggravated assault for allegedly stabbing another contractor four times during a fight Feb. 23 on a base near Hit, 140 kilometres west of Baghdad. The assault charge was dropped after he pleaded guilty to the lesser offences, the military said.

It was the first trial under a 2006 amendment to the Uniformed Code of Military Justice which enables civilian employees in a combat zone to be tried for offences before a military court.

In 2006, Senator Lindsey Graham, Republican-South Carolina, added a measure to a defence spending bill that made civilians working for the U.S. military in a "contingency operation'' subject to courts martial.

The provision was intended to close the legal loophole that made it difficult to successfully prosecute such individuals in conflicts were Congress had not formally declared a state of war.

There are more than 160,000 contractors working in Iraq and some 36,000 in Afghanistan _ about the same number of troops in those regions. They perform numerous tasks including supplying food and water, building barracks, providing armed security and gathering intelligence.

The contractors have operated in a legal grey area because officials exempted them from prosecution in Iraqi courts in 2004. It has also been unclear whether they could be charged in the United States.

During the war in Vietnam, several civilians working for the U.S. armed forces were charged with violations of military law. There were several convictions but all were eventually struck down by the U.S. Supreme Court.