An ex-employee of the U.S. attorney in Brooklyn who leaked information to former state Sen. John Sampson and then testified against his one-time childhood friend at Sampson’s corruption trial was sentenced to probation on Friday.

Sam Noel, 48, who worked as a paralegal, pleaded guilty to the misdemeanor of misusing his computer access for trying to help Sampson in 2011 by making inquiries about the status of a criminal investigation of an associate.

advertisement | advertise on newsday

Prosecutors urged leniency because Noel quickly agreed to cooperate and aid the government after he was identified as a mole. Brooklyn U.S. District Judge Dora Irizarry put him on probation for a year and banned him from federal employment for five years.

photosRecent NYC mug shotsSee alsoMajor NYC crime

Sampson was convicted last year of obstruction of justice and lying to the FBI. No date has yet been scheduled for his sentencing.