The US Democrats have taken control of the House of Representatives in the mid-term elections, dealing a blow to President Donald Trump.
Taking control of the lower chamber of Congress for the first time in eight years will enable Democrats to thwart the president’s agenda.
But Mr Trump’s Republicans are set to strengthen their grip on the Senate.
Tuesday’s vote was seen as a referendum on a polarising president, even though he is not up for re-election till 2020.
The election confirms a historical trend for the party that is not in the White House to make gains in the mid-terms.
House Democratic leader Nancy Pelosi – who is set to become Speaker, a position she held from 2007 to 2011 – said told cheering supporters in Washington: “Thanks to you, tomorrow will be a new day in America.”
Democrats converted the energy of the liberal anti-Trump resistance into solid electoral gains in the first nationwide vote since the president swept to power two years ago.
The BBC’s US partner network CBS projects the Democrats will win the 23 seats they need to take over the lower chamber of Congress. Americans voted for all 435 seats in the House.
The Democrats could now launch investigations into Mr Trump’s administration and business affairs, from tax returns to potential conflicts of interest.
They could also more effectively block his legislative plans, dooming his signature promise to build a wall along the border with Mexico.
Female candidates performed particularly well in an election cycle that had been billed as the Year of the Woman.
Two 29-year-old Democrats, Alexandria Ocasio-Cortez and Abby Finkenauer – are due to be the youngest women ever to win House seats.
Ilhan OImar and Rashida Tlaib are the first Muslim women and Sharice Davids and Debra Haaland the first Native American women to be elected to Congress. All are Democrats.
Republicans are on course to expand their slim 51-49 majority in the upper chamber of Congress.
Three Democratic incumbents – Joe Donnelly in Indiana, Claire McCaskill in Missouri and Heidi Heitkamp in North Dakota – suffered defeat to Republican challengers.
A fourth Democrat – Bill Nelson in Florida – looks likely to be unseated, too.
Republican Texas Senator Ted Cruz fended off a strong challenge by Democratic rising star Beto O’Rourke.
And Republican Marsha Blackburn became Tennessee’s first woman senator, despite an endorsement for her male Democratic challenger from pop star Taylor Swift.
Mitt Romney, the 2012 Republican presidential nominee, won his Senate race in Utah, as expected.
Democratic Senators Joe Manchin and Bob Menendez held on after tough campaigns in West Virginia and New Jersey respectively, but it was cold comfort.
Democrats were always facing an uphill battle in the Senate this year because they were defending 26 races, while just nine Republican seats were up for grabs.
President Trump was quick to celebrate his party’s gains.
Despite his incendiary campaign warnings of an immigrant “invasion”, border security turned out to be a distant second in voters’ list of concerns to healthcare, according to CBS.
America’s partisan trenches deepen
Analysis by Anthony Zurcher, BBC News
It’s a tale of two chambers.
The door to a Democratic-controlled Senate slammed shut. Donald Trump will continue to have a Republican majority ready and willing to confirm his executive and judicial appointments. The only question now is the size of his party’s advantage.
In the House of Representatives, however, the story is different. The path of least resistance for Democrats to a majority in that chamber led through educated suburban districts that had long voted for Republicans but contained voters that may have been uneasy with Donald Trump’s policies and rhetoric.
One by one, those districts were carried by the Democrats. In Virginia, Illinois and Florida, moderate Republicans lost. In places like Colorado, New Jersey, Kansas, Pennsylvania, Texas and New York, Democrats are poised for victory.
It won’t feel like the tsunami many on the left were hoping for, but a steadily rising tide is still lifting Democrats to enough victories to give them control of the House for the first time in eight years. With that comes the ability to stop the Trump legislative agenda in its tracks and puts some teeth in congressional oversight of his administration.
The partisan trenches in America are getting deeper. And after two years in the darkness, Democrats have the means to fight back.
In Florida, left-wing progressive Andrew Gillum has conceded after an ugly battle against a Trumpist conservative, Ron DeSantis.
But Democrat Stacey Abrams – who ran to become the first black female governor in the US – refused to concede as her Republican opponent Brian Kemp took a commanding lead after a bitter campaign in Georgia.
Democrat Jared Polis is projected to win the Colorado gubernatorial race, becoming the first openly gay man to be a US governor.
Democrats also captured governorships in Michigan, Illinois and Kansas. In Kansas, Republican Trump ally Kris Kobach was defeated by a Democratic state senator Laura Kelly.