Former MSNBC anchor Dylan Ratigan running for Congress

Former CNBC and MSNBC anchor Dylan Ratigan is getting into politics. On Wednesday afternoon, Ratigan formally announced that he's running for Congress as a Democrat in New York's 21st congressional district, which encompasses several counties in the northern part of the state.

Ratigan spent three years at MSNBC before leaving the network — and the television business — in 2012. Before that, he worked as an executive for Bloomberg News and an anchor for CNBC.

Last spring, Ratigan was hired by his former MSNBC colleague, Cenk Uygur, as a contributor to his Young Turks Network. Uygur told The Hollywood Reporter that Ratigan will be a "great" candidate.

"He's not going to be weighed down by any party orthodoxy," Uygur said. "He's a truly independent thinker. Dylan understands finance better than almost anyone in the country. And he understands that the establishment is not in the money creation business anymore, they're in the money extraction business. That is at the core of what is bothering the American people — they feel like they're getting ripped off and they're right. Dylan can show them how and hopefully begin to end it."

See photos of Dylan Ratigan:

When he left MSNBC, network president Phil Griffin said that Ratigan's "distinct voice and his fearless approach to tackling complicated issues has been a key part of MSNBC’s growth and success."

If Ratigan is able to make it through the Democratic primary, he'd face off against incumbent Republican Elise Stefanik, who was first elected to Congress in 2014.

Stefanik is rated by the University of Virginia's Center for Politics as a "safe Republican," meaning that Ratigan would have a tough time in unseating her. Donald Trump carried the district in the 2016 election.

"He’s from the North Country, which might make him palatable to many voters," said Geoffrey Skelley, an associate editor for the Center. "However, the problem for Ratigan or whomever the Democrats nominate will be that Elise Stefanik seems to be in a pretty good position to win reelection."

He said, though, that Ratigan "will certainly have fundraising connections."

Advertisement