An appeals court has upheld the dismissal of an official misconduct charge in the case of a Superior Court judge who failed to turn in her boyfriend when she knew an arrest warrant was issued in his name. But the panel also affirmed the trial judge in declining to toss two counts of hindering prosecution against the judge, Carlia Brady.

Brady was indicted over her failure to turn in Jason Prontnicki, who was wanted for the armed robbery of an Old Bridge pharmacy. Prosecutors said Prontnicki visited Brady’s home twice after she learned that authorities were looking for him. Brady became a Superior Court judge in Middlesex County on April 5, 2013, and authorities said Prontnicki attempted to hold up the pharmacy on April 29, 2013. Two years later, in May 2015, Brady was indicted on the official misconduct charge and two counts of hindering, and she has been suspended from the bench ever since.