Midterms shake up state-level leadership