Rep. Nancy Pelosi won election as speaker of the House of Representatives on Thursday, putting the California Democrat in control of the gavel for a second time as the 116th Congress opened.

Pelosi, who previously served as speaker from 2007 to 2011, clinched the vote with support from 220 House members. More than a dozen Democrats voted for someone else, or voted “present.”

The Californian’s return to the role comes amid a standoff with President Donald Trump and a partial government shutdown that has entered its 13th day, and as some of her fellow Democrats have balked at a package of rules for the new Congress.

Read: Ocasio-Cortez slams ‘bad economics’ of budget deficit rule pushed by Democratic leaders.

In addition to ending the shutdown, Democrats under the 78-year-old Pelosi are expected to prioritize an infrastructure package and take aim at reducing drug prices, as well as investigate the Trump administration.

“The House will be for the people,” Pelosi said in floor remarks following her election, vowing to “increase paychecks by rebuilding America with green and modern infrastructure, from sea to shining sea.”

Pelosi and Trump continue to clash over Trump’s proposed border wall, the sticking point in reopening several federal agencies. Pelosi told NBC News that she would give Trump “nothing for the wall.”

Also see:Pelosi calls Trump’s wall plan ‘an immorality.’

The partial shutdown has added to stock-market jitters. The Dow Jones Industrial Average DJIA, -0.83% closed down about 660 points Thursday after a weaker-than-expected manufacturing report and Apple’s AAPL, -1.60% unusual cut to sales its forecast.

See Market Snapshot.

In the same NBC interview, Pelosi didn’t shy from mentioning impeachment for Trump, saying Democrats “shouldn’t be impeaching for a political reason, and we shouldn’t avoid impeachment for a political reason.” She said she would wait for the results of special counsel Robert Mueller’s probe into Russian interference in the 2016 election. Mueller is also probing whether Trump campaign officials colluded with Russia.

Pelosi reclaiming the gavel wasn’t always a certainty after Democrats recaptured the House in the November midterm elections. She faced opposition from younger members, but largely won back support after a deal that included a pledge to limit her time as speaker to four years.

On Thursday, 15 Democrats did not vote for Pelosi as speaker.