FREEHOLD, N.J. (AP) — A former New Jersey police officer convicted of helping gang members in investigations has been sentenced to 10 years without parole.

Forty-nine-year-old Keith German, a 16-year veteran of the Asbury Park police department, was convicted in September of three counts of official misconduct, including hindering apprehension of gang members, as well as conspiracy to commit stalking, harassment and other crimes.

Prosecutors said German tipped off gang members about police investigations in exchange for help stalking a woman who turned down his advances. He was arrested in North Carolina in June after skipping out on his trial.

German was among dozens arrested in 2014 as part of sweep targeting criminal and gang activity in Asbury Park. Prosecutors said many of those arrested were members of the Crips or Bloods street gangs.