Democrats took control of the House during the midterm elections, as Republicans expand their advantage in the Senate.

But a number of key races had yet to be decided, and they will determine the breakdown of each chamber. Here’s our cheat sheet for crucial tossup races to track.

The House

Kentucky: Andy Barr (R) vs. Amy McGrath (D)

Barr, the incumbent, defeated McGrath, one of the Democratic Party’s most prominent challengers, in a deeply conservative district, according to The Associated Press. He won by 22 points in 2016.

It was one of 30 tossup districts where Republicans held a distinct partisan advantage, and Barr’s victory signaled that Republican-controlled districts were still asserting their allegiance to President Trump. Read more of our analysis of the race.

The Senate

These were the races to watch entering the evening:

Indiana: Senator Joe Donnelly, a Democrat, was defeated by the Republican businessman Mike Braun, according to The Associated Press. His loss deals a significant blow to Democratic efforts to retake control of the Senate.

New Jersey: Senator Robert Menendez, a Democrat, was elected to a third term, according to The Associated Press. He withstood a public backlash over his federal corruption trial and the official Senate criticism he received for misusing his office for personal gain.

Tennessee: Representative Marsha Blackburn, a Republican, beat out Phil Bredesen, a Democrat and former governor, according to The Associated Press. Democrats had hoped to pull out a victory in this deep red state, which became a surprise battleground in the final weeks of the contest. Blackburn had tied herself closely to Trump.

Texas: Senator Ted Cruz, a Republican, won re-election, according to The Associated Press. He overcame a challenge by the best-financed and most popular Democrat to run in Texas in years, Representative Beto O’Rourke.