The following chart displays the attorneys general for each state from 1980 through 2018 (when the terms of most current AGs end), with blue shading for Democratic AGs and red shading for Republican AGs. The longest-serving AG for a given year is listed when more than one AG held the office in a single year.
(Click on image below for the full-screen view).
* designates appointed AG states
AG Partisan Composition (2015): 27 Republicans, 23 Democrats
AG Partisan Composition (1980-2018): 61% Democrats, 39% Republicans
AG Partisan Composition (2000-2018): 56% Democrats, 44% Republicans