NEW YORK (AP) _ An inmate was convicted of murdering two detectives with a loaded gun he stole from a police locker when they left him alone in a squad room.

A jury Monday found Jay ''Stoney'' Harrison guilty of murder, escape, grand larceny and weapons possession. He shot the detectives last November as they drove him back to jail after questioning in a murder.

Sentencing was set for July 25. Harrison faces a maximum term of life imprisonment.

Police cited a series of procedural errors by the detectives, including leaving Harrison alone briefly in the squad room, handcuffing him by only one wrist and either not searching him at all or searching him poorly.

Since the incident, lockers have been removed from the squad room in the New York City borough of Queens.

Harrison, 26, was handcuffed to a pipe when he reached into a police locker that had a broken lock and removed the loaded gun.

With both hands cuffed in front of him, he drew the gun and shot while in the back seat of the car of Detectives Richard Guerzon, 46, and Keith Williams, 34, as they drove him back to jail, prosecutors said.

Harrison fled but was arrested 10 hours later at the apartment of an ex- girlfriend.