Education mattered, at least in 2018 elections.

In the November midterms, Democrats nationwide swung numerous districts as they forged a majority in Congress, picking up 40 seats (a few races are still undecided).

In Michigan and much of the Midwest, education level was a predictor of Democratic success. The two seats that Democrats flipped in Michigan have, by far, the most educated adults.

In 26 seats in the Midwest where more than 35 percent of adults have a college degree, Democrats won 20 seats in November, up from 10 just two years before, according to Nate Silver, founder of the news website FiveThirtyEight. That includes both Michigan congressional districts that flipped.

In the 11th District, comprised of parts of Oakland and Wayne counties, nearly half of all adults have a college degree and Democrat Haley Stevens won by nearly 7 points, flipping the seat previously held by retiring Republican David Trott (she beat Republican nominee Lena Epstein).

In the 8th District, comprising Ingham, Livingston and parts of Oakland counties, Democrat Elissa Slotkin beat incumbent Republican Mike Bishop, by 4 points.

Democratic pollster Mark Grebner has said the results underscore a trend that’s seen less educated white voters become more Republican, while educated ones trend Democratic.

Indeed, if you look at the graphic below, you’ll see that six of the seven congressional seats that Republicans won in Michigan were in districts where a smaller percentage of adults have a college degree compared with the statewide percent (29.1). The 10th Congressional District, comprising northern Macomb County and much of the Thumb, is at 23.6 percent; and the 7th Congressional, including Monroe County and stretching west and north to Eaton County, is at 24.1 percent.