A former Brooklyn prosecutor was found guilty in Manhattan federal court Tuesday for his role in a police gun licensing scandal that stretched all the way to the office of Mayor Bill de Blasio.

John Chambers, who at one point served in the Kings County District Attorney’s Office, was convicted of bribery, honest services fraud and conspiracy to commit honest services fraud after a week-long trial before U.S. District Judge William Pauley III of the Southern District of New York.