A city court judge in Niagara County was censured by a New York state panel Friday for presiding over more than 2,500 civil matters involving a credit union that his brother, also an attorney, served as both an officer and a member of its executive committee.

Lockport City Court Judge Thomas DiMillo, an attorney who earns $200,400 in the position, agreed to the censure and said he didn’t know his actions constituted misconduct.