The Democrats have secured a majority in the House of Representatives in a blow to Donald Trump, but the Republicans have held the Senate with voter turnout surging.

The Democrats have surpassed the 218 seats required for a House majority by gaining the 23 they required and are on course to take more, allowing them to frustrate legislation that the Republicans try to pass through Congress.

However, the Republicans have held onto the Senate comfortably, taking three seats from the Democrats so far. President Trump's party won key bouts in Texas, where Ted Cruz was re-elected against strong opposition from Beto O'Rourke, and Indiana, where Democrat incumbent Joe Donnelly was ousted by Republican Mike Braun.

Control of Congress was up for grabs at the start of the night, with all 435 seats in the House of Representatives under contest as well as 35 of the 100 Senate seats. There were also Governor races in 36 states. You can follow the results as they come in on this page.

Seen effectively as a referendum on President Trump, these elections will not only decide who controls the legislature for the next two years, but also take the temperature of American politics and give an indication of how likely it is that Trump will be able to retain the presidency for a second term.