NEW YORK (AP) Prosecutors say a New York City police detective lied about the lead-up to a substantial drug arrest, and his false testimony ultimately scuttled the case.

Detective Said Salim (sah-YEED' sah-LEEM) was released without bail Wednesday after pleading not guilty to perjury, official misconduct and other charges.

In July 2009, Salim arrested two men on charges of having two kilograms of cocaine in a duffel bag.

Manhattan District Attorney Cyrus Vance Jr.'s office says video of the encounter conflicted with Salim's account at a grand jury and a hearing, where he denied having frisked the men.

Prosecutors ultimately concluded he had no legal basis for stopping the men, and the case was dismissed.

Defense lawyer Mark Bederow (BEH'-duhr-oh) says Salim denies that intentionally giving any false testimony.

Salim has been suspended.