Image copyright Facebook/ Eddie Gallagher Image caption Chief Gallagher has done eight tours of combat duty in the US Navy

A veteran US Navy Seal is accused of killing Iraqi civilians at random, stabbing to death a teenage prisoner and nearly a dozen other crimes.

Navy Special Operations Chief Edward Gallagher will plead not guilty when he appears at a hearing at a San Diego naval base, his lawyer said on Friday.

Prosecutors say the highly decorated sniper and medic killed innocent people during his eighth combat deployment.

The 19-year Navy combat veteran faces life in prison if found guilty.

Military investigators allege Chief Gallagher committed several crimes while in Mosul from February to September 2017, including the premeditated murder of a wounded Islamic State (IS) fighter around the age of 15.

Media playback is unsupported on your device Media caption Is this the Islamic State group's last stand in Syria?

More on US Navy Seals

He has been held in pre-trial confinement ahead of his criminal hearing, after prosecutors accused him of contacting witnesses.

His wife Andrea Gallagher has called the trial "an atrocity committed against America's service members" and called upon President Donald Trump to intervene.

She, and handful of other supporters wearing "Free Eddie" shirts, cheered the combat veteran as he arrived at the courthouse in handcuffs on Friday.

Image copyright CBS Image caption Chief Gallagher arrived at court in handcuffs on Friday

Aaron Kahn, who said that he is a friend of the accused told CNN that "Eddie's being demonised and not characterised as a good human being".

He added that his service to his country is being "dismissed and not appreciated by the American public and government."

Image copyright Facebook/ Andrea Gallagher Image caption Chief Gallagher denies all the charges against him

What is Chief Gallagher accused of?

According to the charges, Chief Gallagher allegedly stabbed a teenage IS fighter who had been wounded in an airstrike in May 2017.

Prosecutors say the wounded prisoner was being treated by medics from the Seal platoon that Chief Gallagher commanded when he allegedly attacked without any warning using a homemade knife.

He then had others take photos as he posed with the corpse and recited the Navy re-enlistment ceremony oath, prosecutors say.

A lawyer for Chief Gallagher said the fighter died from injuries sustained in the airstrike, and that his client is being falsely accused by Seals who wanted to get rid of their demanding platoon leader.

Media playback is unsupported on your device Media caption Is this the end for Islamic State?

Naval Criminal Investigative Service Special Agent Joe Warpinski told the Associated Press that he had interviewed nine members of Seal Team 7, who said that the chief was known to fire indiscriminately into crowds of Iraqi civilians, and had shot and killed an old man and a girl from his sniper's outpost.

At a hearing in November, prosecutors said the men under Chief Gallagher's command considered him so deranged and bloodthirsty that they tampered with his sniper rifle to make it less accurate, and would fire warning shots to clear civilians from the area to protect them from him.

Image copyright CBS Image caption Chief Gallagher wore his Navy uniform in court on Friday

Navy prosecutor Chris Czaplak said the chief had chosen "to act like the monster the terrorists accuse us of being".

"He handed ISIS propaganda manna from heaven. His actions are everything ISIS says we are," Mr Czaplak said, referring to the Islamic State.

The trial will begin on 19 February.