The Democrat-controlled US House of Representatives has voted to end a partial government shutdown – but the move looks certain to be vetoed by President Donald Trump.
Mr Trump has said he will reject any measure that does not provide funding for his proposed US-Mexico border wall.
New House Speaker Nancy Pelosi has branded the wall “an immorality”.
The measures also require the approval of the Republican-run Senate – but senators have already ruled this out.
Senate majority leader Mitch McConnell said Republicans there would not back measures that Mr Trump did not support and called the Democrats’ move a “total nonstarter” and a “political sideshow”.
The legislation passed by the House of Representatives would fund homeland security operations until 8 February and fund several other agencies until September.
How has the shutdown come about?
The partial US government shutdown began when Congress and Mr Trump failed to reach an agreement over a budget bill in December.
Mr Trump’s Republicans had passed an initial funding bill including $5bn (£4bn) for the wall, when they still had a majority in the House, but they could not get the necessary 60 votes in the 100-seat Senate.
Democrats won the majority of the House in the November mid-term elections, and the new representatives were sworn in on Thursday.
“We’re asking the president to open up government,” Ms Pelosi told the Today show before the first session of the new House. “We have given the Republicans a chance to take yes for an answer.”
The president is due to resume budget talks with top Democrats and Republicans on Friday.
Pelosi elected as Speaker
Thursday evening’s budget vote in the House of Representatives came after Nancy Pelosi, a Democrat from California, was again elected as Speaker.
“I’m particularly proud to be a woman Speaker of the house of this Congress, which marks the 100th year of women having the right to vote,” she said.
“And, that we all have the ability and the privilege to serve with over 100 women members of Congress – the largest number in history. ”
Speaking from the White House briefing room for his first time ever on Thursday, Mr Trump congratulated Ms Pelosi, saying: “It’s a very, very great achievement and hopefully we’re going to work together.”
A historically diverse Congress
As of Thursday, 102 women serve in the House, an all-time high, including 36 newly elected members and a record 43 women of colour.
While Republican women marked some firsts this past election season – like Marsha Blackburn becoming the first female Tennessee senator – the vast majority of these new lawmakers are Democrats.
Among them are the first Muslim congresswomen – Michigan’s Rashida Tlaib and Minnesota’s Ilhan Omar – and the first Native American women to serve – New Mexico’s Debra Haaland and Kansas’ Sharice Davids.
Alexandria Ocasio-Cortez of New York also became the youngest woman ever elected to Congress.
While celebrating the Democratic diversity during the swearing-in ceremonies, some on social media highlighted the contrast to the Republican members, who are mostly white men.
Carol Miller of West Virginia is the only new female Republican representative, bringing the total number of conservative women in the House to 13 – a decrease from 23 before the mid-term elections.