A New Jersey judge has ruled that the widow of a Trenton police officer, who committed suicide after being identified as having sex with a prostitute, cannot sue a local newspaper or the Mercer County Prosecutor’s Office for defamation, emotional distress and other claims.

Mercer County Superior Court Judge R. Brian McLaughlin dismissed the lawsuit against The Trentonian newspaper, the prosecutor’s office and the city of Trenton on summary judgment in a ruling issued June 28.