Anchor Megyn Kelly has decided to leave Fox News to take a position at NBC, NBC News announced Tuesday.

Kelly will take a “triple role” at NBC, the network said — hosting a daytime news and discussion show, anchoring a Sunday night news show, and being a central part of the network’s special coverage of politics and other big events.

Kelly's "The Kelly File" was the second-most-watched show on cable news, behind only Fox's "O'Reilly Factor." Kelly is a 12-year veteran of Fox.

Her contract with the network expires over the summer.

“Megyn is an exceptional journalist and news anchor, who has had an extraordinary career” NBC News president Andy Lack said in a statement. “She’s demonstrated tremendous skill and poise, and we’re lucky to have her.”

“While I will greatly miss my colleagues at Fox, I am delighted to be joining the NBC News family and taking on a new challenge,” Kelly said in a Facebook post “I remain deeply grateful to Fox News, to Rupert, Lachlan and James Murdoch, and especially to all of the FNC viewers, who have taught me so much about what really matters. More to come soon.” The New York Times first reported Kelly’s move.

Trump took exception to a question by Kelly about his past comments about women, criticizing her on stage and later saying in an interview that Kelly had “blood coming out of her wherever” during the debate.

Trump in January skipped a Fox News debate over his continued feud with the network and Kelly. But he sat down with Kelly for a one-on-one interview later in the campaign.