Erie County District Attorney John Flynn’s announcement of his plan to resign from office on April 1 in order to join Lippes Mathias as a partner has created one of many open seat races for top prosecutors in upstate and western New York this year.

At least 10 district attorney seats will be up for grabs in upstate and western New York in November, including in the Buffalo area and state capitol.