President Trump Donald John TrumpOmar fires back at Trump over rally remarks: 'This is my country' Pelosi: Trump hurrying to fill SCOTUS seat so he can repeal ObamaCare Trump mocks Biden appearance, mask use ahead of first debate MORE declared the results of Tuesday's midterm elections a "tremendous success," even as Democrats were projected to take control of the House.

"Tremendous success tonight. Thank you to all!" Trump tweeted as race calls were still pouring in.

In a subsequent pair of tweets, Trump shared a quote from conservative commentator Ben Stein, who called the president a "magic man" for helping Republicans expand their majority in the Senate.

Tremendous success tonight. Thank you to all! — Donald J. Trump (@realDonaldTrump) November 7, 2018

“There’s only been 5 times in the last 105 years that an incumbent President has won seats in the Senate in the off year election. Mr. Trump has magic about him. This guy has magic coming out of his ears. He is an astonishing vote getter & campaigner. The Republicans are......... — Donald J. Trump (@realDonaldTrump) November 7, 2018

....unbelievably lucky to have him and I’m just awed at how well they’ve done. It’s all the Trump magic - Trump is the magic man. Incredible, he’s got the entire media against him, attacking him every day, and he pulls out these enormous wins.” Ben Stein, “The Capitalist Code” — Donald J. Trump (@realDonaldTrump) November 7, 2018

He also agreed with a Fox News commentator who said many GOP candidates "owe him their political career."

The Republicans' loss of the House is a significant blow for the president, who will have to contend with a Democratic majority that is eager to place a check on his leadership.

ADVERTISEMENT

But Trump's abbreviated reaction reflects what the White House has signaled for days: if the GOP kept control of the Senate and pulled off wins in in a handful of key gubernatorial races, the president would declare victory.

"I think a huge victory for the president tonight, with the announcement of the Senate looking like it's definitely going to stay with Republicans," White House press secretary Sarah Huckabee Sanders said on NBC.

The president and his team also sought to skirt blame for losses in the House, which some Republican strategists argued he worsened with his divisive rhetoric on immigration and by framing the contests a referendum on his presidency.

Trump spent the last week holding raucous campaign rallies to drive home his message in states he won with competitive Senate and governors' races, an effort which Sanders said "we're seeing pay off."

The GOP flipped Senate seats in Florida, Indiana and Missouri, all states where Trump made two stops in the final days of the campaign.

Senate Majority Leader Mitch McConnell Addison (Mitch) Mitchell McConnellPelosi: Trump hurrying to fill SCOTUS seat so he can repeal ObamaCare Senate GOP aims to confirm Trump court pick by Oct. 29: report Trump argues full Supreme Court needed to settle potential election disputes MORE (R-Ky.) called Trump on Tuesday to thank him for his campaign stops on behalf of Republicans.

Keeping the Senate majority will allow Trump to continue placing conservative judges on federal courts in the next two years leading up to his reelection race, an effort that has further endeared him to GOP voters.

Republicans were also projected to keep control of governor's mansions in Ohio and Florida, two key states for Trump's campaign in 2020.

But until that time, Trump will likely be forced to battle Democratic-led investigations in the House on everything from his tax returns to his businesses and administration.

That could leave White House politically and legally besieged as Trump gears up for his reelection.

Trump called House Minority Leader Nancy Pelosi Nancy PelosiPelosi: Trump hurrying to fill SCOTUS seat so he can repeal ObamaCare House lawmakers reach deal to avert shutdown Centrist Democrats 'strongly considering' discharge petition on GOP PPP bill MORE (D-Calif.) late Tuesday night to congratulate her on the Democrats' victory in the lower chamber, according to Pelosi's office. The call came despite the fact Sanders earlier suggested Trump would not reach out.

Sanders said on Fox News before the House was called that Trump is "willing to work across the aisle to get things done," but implied that the president could use Democrats as a foil if they overplay their hand on oversight investigations.

"If Democrats take the House, they shouldn’t waste time investigating, they should focus on what the people put them there to do," she said.

Pelosi, who is expected to become the next Speaker, promised after Tuesday's victory that she would offer a "bipartisan marketplace of ideas," saying the "American people want results" and have "had enough of division."

After spending the last several weeks in the public eye at numerous campaign rallies and in media appearances, Trump remained out of view on Election Day.

He spent much of the day inside the White House phoning friends and advisers and monitoring elections results on television, according to sources close to the administration. His Twitter feed was relatively tame, tweeting out a handful of candidate endorsements and voting information.

Trump later hosted a reception at the White House for family members, friends, major donors and staffers to monitor election returns.

The president has no public events scheduled for Wednesday, but is expected to weigh in further on the mixed results of Tuesday's midterms.

-Updated Nov. 7 at 1:51 a.m.