Sen. Bernie SandersBernard (Bernie) SandersDems wonder if Sherrod Brown could be their magic man My fellow Democrats should watch their language: Economic equality is not a rational societal goal As Democrats gear up to challenge Trump in 2020, the key political divide will be metropolitan versus rural MORE (I-Vt.) on Thursday vowed not to let President-elect Donald TrumpDonald John TrumpBroward County official Brenda Snipes submits resignation after criticism Retired lieutenant general tears into Trump over attacks against Navy SEAL: 'Disgusting' Senate barrels toward showdown over Trump's court picks MORE get away with going after minority groups.

"If Donald Trump takes people's anger and turns it against Muslims, Hispanics, African Americans and women, we will be his worst nightmare," the Vermont senator tweeted.

ADVERTISEMENT

Sanders on Wednesday released a statement signaling a willingness to work with Trump on certain policies.

“To the degree that Mr. Trump is serious about pursuing policies that improve the lives of working families in this country, I and other progressives are prepared to work with him," the Vermont senator said in a statement released Wednesday.

"To the degree that he pursues racist, sexist, xenophobic and anti-environment policies, we will vigorously oppose him.” 

After battling Hillary ClintonHillary Diane Rodham ClintonRetired lieutenant general tears into Trump over attacks against Navy SEAL: 'Disgusting' Retired admiral who oversaw bin Laden raid doubles down on Trump criticism Trump dismisses criticism from Navy SEAL who led Osama bin Laden mission MORE in the Democratic presidential primary, Sanders endorsed Clinton and campaigned for her and against Trump in battleground states.

Throughout the presidential race, the Vermont senator made the case for why voters should support Clinton and cast Trump as unqualified for the White House.