A former western New York town judge who prohibited media from covering the arraignment of a state police major’s daughter charged with killing her boyfriend has promised he won’t seek re-election.

The New York State Commission on Judicial Conduct announced Wednesday that York Town Court Judge Walter Purtell agreed never to pursue or accept judicial office as part of his resignation, which took effect March 8.