A contentious Democratic primary for attorney general between two public has headlined the slate of down-ballot statewide office races.