Stocks rose to all-time highs on Thursday as Congress confirmed the election of Joe Biden as president and traders looked past the unrest in Washington.
The Nasdaq Composite popped 2.6% to 13,067.48 as shares of Microsoft and Alphabet both gained more than 2%, and Apple rose 3.4%. The Dow Jones Industrial Average advanced 211.73 points, or 0.7%, to 31,041.13. At one point, the Dow was up more than 300 points. The S&P 500 climbed 1.5% to 3,803.79.
Thursday marked the Nasdaq's first-ever close above 13,000. It was also the first time the Dow and S&P 500 ended a session above 31,000 and 3,800, respectively.
Walgreens Boots Alliance rose 5.2% to lead the Dow higher on the back of stronger-than-expected quarterly results. Shares of JPMorgan Chase advanced 3.3% after the banking giant was upgraded to buy from neutral by an analyst at Bank of America. The tech and consumer discretionary sectors rose 2.7% and 1.8%, respectively, to lift the S&P 500.
On Wednesday, pro-Trump rioters stormed the U.S. Capitol just as lawmakers started the procedural process of counting the Electoral College votes and formally declaring Biden the winner. Still, the Dow and the S&P 500 closed higher on Wednesday as traders looked beyond the event amid increasing prospects for more fiscal stimulus.
"There should be no mystery as to why the markets didn't care about what happened in the Capital [on Wednesday], however disturbing, disgraceful, and embarrassing it was," said Peter Boockvar, chief investment officer at Bleakley Advisory Group. "It's because it has no bearing on the direction of the economy, earnings and interest rates. It's that simple."
Congress reconvened to continue the process to confirm Biden's win late Wednesday evening after the Capitol building was secured. That affirmation came early Thursday morning with the House of Representatives and the Senate rejecting efforts to object to the acceptance of the Electoral College votes from Arizona and Pennsylvania.
President Donald Trump said in a statement after the Congress confirmation of Biden that "there will be an orderly transition on January 20th."
"I think the reason the markets aren't too flummoxed is it's not going to change the transition of power," Tom Lee, Fundstrat Global Advisors co-founder, said.
Traders continued to focus on the possibility for additional fiscal aid after the Democratic party secured a slim majority in the Senate, giving it control of both congressional chambers.
NBC News projected on Wednesday afternoon that Democrat Jon Ossoff defeated Republican David Perdue in one of the two runoff elections in Georgia. Earlier in the day, NBC projected Democrat Raphael Warnock defeated Republican Sen. Kelly Loeffler in their Georgia runoff.
Georgia's election results create a 50-50 Senate that Democrats will control, due to the tiebreaking vote in Vice President-elect Kamala Harris. It is widely expected that a Democrat-held Senate would push for a more robust stimulus package, speculation which boosted equities on Wednesday, especially stocks hit hardest during the Covid recession.
JJ Kinahan, chief market strategist at TD Ameritrade, said the election results give investors "more clarity" by "solidifying Democrat control in Washington and increasing expectations of more stimulus to come."
"With the political tensions easing, more stimulus expected to help boost the economy, and coronavirus vaccines helping bring a measure of calm to investors and traders, it seems that the market can now focus on earnings season," he said.
On the data front, initial jobless claims came in at 787,000 for the week ending Dec. 31, the Labor Department said. Economists polled by Dow Jones expected a print of 815,000.
Sentiment on Wall Street also got a boost after the Institute for Supply Management said its index for nonmanufacturing activity in the U.S. rose to 57.2 in December from 55.9 in November. Economists polled by Dow Jones had forecast a print of 54.5.
Subscribe to CNBC PRO for exclusive insights and analysis, and live business day programming from around the world.