The Dow Jones Industrial Average scored a new record close with modest gains on Thursday as another rally in the banking and energy sectors offset weakness in tech.

The Dow climbed 0.36% to 19,191, surpassing last Friday's record of 19,152. However, the S&P 500 closed down 0.35%, and the Nasdaq fell 1.36%.

Tech names have been under pressure in recent sessions as sector rotation benefited energy and financials and disadvantaged high-momentum movers. Facebook (FB) , Amazon (AMZN) , NvidiaA (NVDA) and Microsoft (MSFT) were all lower, while the Technology SPDR ETF (XLK) slid 2.1%.

Facebook is a holding in Jim Cramer's Action Alerts PLUS Charitable Trust Portfolio. Want to be alerted before Cramer buys or sells FB? Learn more now.

Banking stocks continued to rally as President-elect Donald Trump filled out his Cabinet with picks presumed to be friendly to Wall Street. Steve Mnuchin, nominated Treasury secretary on Wednesday, is a veteran banker and former executive of Goldman Sachs. Mnuchin suggested he would roll back portions of the Dodd-Frank financial rules, the 2010 legislation introduced as a measure to ensure banks were strong enough to weather future financial crises.

Other picks include industrialist billionaire Wilbur Ross for commerce secretary and millionaire Betsy DeVos for education secretary. The Washington Post suggested it could be the richest administration in modern American history, far surpassing George W. Bush's first Cabinet which had a total net worth of roughly $250 million.

If you liked this article you might like

AI Pioneer Andrew Ng: There's Room for Multiple Winners in the AI Race

Why Amazon's Reported Smart Glasses Might Be Just a Niche Product -- For Now

Why Apple Pay Cash Won't Be a Venmo Killer: PayPal CEO

Dow, S&P 500 Set New Records as Fed Moves to Unwind Balance Sheet

PayPal Has Billions in Cash and Is On the Prowl for Acquisitions