Democrats scored a sweeping victory in the midterm elections, taking control of both the House of Representatives and the Senate in a major rebuke to President Donald Trump. The results marked a dramatic shift after Republicans held power in both chambers and left Democrats with the task of checking the president’s agenda.

The party gained 41 seats in the House, well above the three needed to secure a majority. In the Senate, Democrats had flipped seven seats at the time of the report, with Alaska and Mississippi still in play, while retaining their existing seats.

Democratic wins reached across swing states, traditionally Republican states and rural counties. The gains included Texas, where Democrats had not won a Senate seat in 38 years, Kansas, where they had not prevailed in 94 years, and South Carolina, where Republicans had long dominated. Democrats also defeated Susan Collins in Maine, ending a 30-year run without such a victory.

The results were driven by a range of state-level candidates rather than a single nationally prominent figure. The report pointed to grassroots campaigns and described Trump himself as a force that mobilized voters against Republicans. It cited voter concerns including the president’s immigration enforcement and Iran policies, as well as rising prices.

The election also produced historic milestones, including Chris Pappas becoming the first openly gay male senator in New Hampshire and Keisha Lance Bottoms becoming the first Black female governor. Democrats will now face internal divisions as they take control, while Republicans must decide how to oppose the new majority and what role Trump will play in the party’s future.

The report notes that Democrats will also need to determine how much attention to devote to investigations of the administration, with voters’ economic concerns likely to remain central.

Sources: The Hollywood Reporter.