While the world was focused on Clinton versus Trump, the balance of power in the Senate was decided. While not all the races are decided at this hour, it is clear that the Republicans will maintain a majority of the U.S. Senate.

The Democrats needed to swing five seats in their favor in order to take the majority of seats (or pick up four seats, with a Democratic White House win where the vice president acts as a tie breaker). The pre-election analysis made six states appear poised to possibly flip from Republican to Democratic: Illinois, Wisconsin, Indiana, North Carolina, Pennsylvania and New Hampshire. These races were tight and had the power to change the majority party in the chamber.

Here’s how it played out.