A man accused of shooting a Philadelphia police officer in the leg after fleeing from a carjacking has been ordered held without bail.

Online court records show 23-year-old Scott Griffin was arraigned early Wednesday on attempted murder, robbery and related charges.

He's accused of shooting Officer James McCullough on Sunday. McCullough and his partner were flagged down by a woman who reported being carjacked by two men.

Police say as the officers pursued them, Griffin turned and shot McCullough.

Police say the other suspect, 20-year-old Samir Coyett, was arrested, but Griffin fled and was arrested Monday.

Coyett faces charges of attempted murder, robbery and related offenses.

McCullough has been released from the hospital.

No lawyers were listed for either man in online court documents.