Pelosi, elected speaker 220-192, took the gavel saying U.S. voters “demanded a new dawn” in the November election that swept the Democrats to a House majority and are looking to “the beauty of our Constitution” to provide checks and balances on power. She faced 15 dissenting votes from fellow Democrats.

President Trump congratulated her during a rare appearance at the White House briefing room, saying her election by House colleagues was “a tremendous, tremendous achievement.” The president has tangled often with Pelosi and is sure to do so again with Democrats controlling the House, but he said, “I think it’ll be a little bit different than a lot of people are thinking.”

As night fell, the House quickly got to work on the partial government shutdown, which was winding up Day 13 with Trump demanding billions in Mexican border wall funding to bring it to an end. Democrats approved legislation to re-open the government, but without the $5.6 billion in wall money, which means it has no chance in the Republican Senate.

The new Congress is like none other. There are more women than ever before, and a new generation of Muslims, Latinos, Native Americans and African-Americans is creating a House more aligned with the population of the United States. However, the Republican side in the House is still made up mostly of white men, and in the Senate Republicans bolstered their ranks in the majority.

In a nod to the moment, Pelosi, the first female speaker who reclaimed the post she lost to the GOP in 2011, broadly pledged to make Congress work for all Americans, addressing kitchen table issues at a time of deep economic churn , even as her party readies to challenge Trump with investigations and subpoena powers that threaten the White House agenda.

Pelosi promised to “restore integrity to government” and outlined an agenda “to lower health costs and prescription drug prices and protect people with pre-existing medical conditions; to increase paychecks by rebuilding America with green and modern infrastructure from sea to shining sea.”