Fox News’ star Megyn Kelly headed to NBC News

FILE - In this Jan. 28, 2016 file photo, Moderator Megyn Kelly waits for the start of the Republican presidential primary debate in Des Moines, Iowa. Kelly's Fox News colleague, Sean Hannity, accused Kelly of backing Hillary Clinton on Wednesday, Oct. 5, 2016. The spat began Wednesday night on Kelly’s program, when the anchor criticized both GOP presidential nominee Donald Trump and the Democratic candidate, Clinton, of avoiding tough media interviews. Kelly said Trump “will go on Hannity and pretty much only Hannity.” Hannity responded on Twitter that Kelly “clearly” supports Clinton. (AP Photo/Chris Carlson, File)

NEW YORK (AP) — Megyn Kelly, the Fox News star whose 12-year stint has been marked by upheavals at her network and personal attacks on the campaign trail, is headed to NBC News.

The move was confirmed by Kelly’s publicist, Leslee Dart.

Kelly’s departure deprives Fox News of its second-most-watched host, behind only Bill O’Reilly.

Her contract with the network was due to run out this summer.

In the past two years, Kelly has weathered personal attacks from Donald Trump during his presidential campaign, and last summer she played a behind-the-scenes role in the ouster of Fox News founder Roger Ailes after multiple accusations of sexual harassment.

She is expected to take on a multi-faceted role at NBC.

The move was first reported by The New York Times.

Copyright 2017 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.