NEW YORK (AP) - A 35-year-old man has been sentenced to 15 years in prison on each of three gun possession charges in the slaying of a New York City police officer.

A Brooklyn judge ruled that Robert Ellis should serve a single, 15-year term. He said it was the most he could impose. Prosecutors and the slain officer's family had wanted Ellis to serve three 15-year sentences on each count.

A jury acquitted Ellis of aggravated murder and attempted murder in the death of Police Officer Russel Timoshenko during a 2007 traffic stop on a Brooklyn street. Jurors convicted him on three counts of weapons possession.

Co-defendant Dexter Bostic was convicted of aggravated murder and attempted murder in the death of the officer. A judge declared a mistrial in a third defendant's case.