It remains to be seen whether Democratic leaders push for Trump's impeachment — which they avoided as they tried not to fuel Republican enthusiasm during the midterms. It could depend on what Mueller's Russia probe, or the Democrats' own investigations, uncover. Pelosi, for her part, touted national unity on Tuesday.
"A Democratic Congress will work for solutions that bring us together. Because we have all had enough of division. Because we have all had enough of division," she said.
Democrats' actions while in control of the House will help to shape how voters across the country view the president and whether they will support him in his re-election bid a mere two years away.
Trump and the GOP tried to stop a Democratic takeover of the House by tying candidates across the country to Pelosi. They also warned of the party's potential attempts to pursue single-payer health care and stoked fears about illegal immigration in the election's final stretch.
In key swing districts from Pennsylvania to Kansas and California, Democrats tried to keep the focus on health-care policy and the social safety net. They warned about Republican attempts to repeal and replace the Affordable Care Act, and the potential to cause people with pre-existing conditions to lose insurance coverage.
They also took every opportunity to stir concerns about Republicans using their tax cuts passed last year as justification to trim funds from Social Security, Medicare and Medicaid.
A record flow of cash — from both individuals and outside political action committees — helped Democrats to spread their message. Small donors fueled a fundraising advantage for Democratic campaigns in most battleground House districts, forcing national GOP organizations to spend heavily to keep up.
Overall spending in the midterms was projected to reach $5.2 billion, about $1 billion more than any previous midterm, according to the Center for Responsive Politics.
Pelosi spelled out her plans for a Democratic majority well before Tuesday's vote. She identified potential proposals to reduce corruption and money in politics, cut drug prices, strengthen gun background checks and pass legal protections for young immigrants brought to the U.S. illegally as children. It is unclear how much of that agenda they can accomplish with Trump in office.
Watch: Florida restores voting rights to more than a million former felons