LOS ANGELES—Two Los Angeles Police Department officers have been convicted of perjury and other charges related to lying under oath in a 2008 drug case.

Former Officer Evan Samuel was convicted of three counts of perjury Tuesday and Officer Richard Amio was convicted of two counts of perjury, among other charges. A jury deadlocked on charges against a third officer.

Amio and Samuel testified they chased Guillermo Alarcon Jr. into his Hollywood apartment in 2007 and saw him immediately toss a black object that contained cocaine. But a surveillance tape showed four officers searching for more than 20 minutes before finding the drugs.

The officers denied wrongdoing and their attorney said they had testified truthfully to the best of their ability.

Samuel and Amio are scheduled to be sentenced Dec. 12.