CNN
Now playing
01:28
McMaster's long, outspoken military career
Pat Cipollone close up
Stein Mitchell Cipollone Beato & Missner LLP
Pat Cipollone close up
Now playing
02:10
Meet Trump's new White House counsel
John Bolton and John Kelly
Getty Images
John Bolton and John Kelly
Now playing
02:12
Bolton, Kelly get into heated shouting match
US President Donald Trump prepares to board Air Force One at Andrews Air Force Base in Maryland on October 1, 2018.
MANDEL NGAN/Getty Images
US President Donald Trump prepares to board Air Force One at Andrews Air Force Base in Maryland on October 1, 2018.
Now playing
02:35
Trump administration dismisses EPA scientists
Donald Trump welcomes retired United States Marine Corps general James Mattis as they pose for a photo before their meeting at Trump International Golf Club, November 19, 2016 in Bedminster Township, New Jersey.
Drew Angerer/Getty Images
Donald Trump welcomes retired United States Marine Corps general James Mattis as they pose for a photo before their meeting at Trump International Golf Club, November 19, 2016 in Bedminster Township, New Jersey.
Now playing
02:44
Trump: James Mattis is 'sort of a Democrat'
Now playing
01:27
Sanders: 'Sad' that op-ed is getting attention
Sonny Perdue, President TrumpÕs nominee to lead the Agriculture Department, takes his seat as he arrives for his confirmation hearing before the Senate Committee on Agriculture, Nutrition, and Forestry on Capitol Hill, March 23, 2017 in Washington. Previously, Perdue served as the governor of Gerogia from 2003 to 2011. (Photo by Drew Angerer/Getty Images)
Sonny Perdue, President TrumpÕs nominee to lead the Agriculture Department, takes his seat as he arrives for his confirmation hearing before the Senate Committee on Agriculture, Nutrition, and Forestry on Capitol Hill, March 23, 2017 in Washington. Previously, Perdue served as the governor of Gerogia from 2003 to 2011. (Photo by Drew Angerer/Getty Images)
Now playing
02:02
Emails reveal food lobbyist influence on USDA
US.President Donald Trump departs the White House July 31, 2018 in Washington, DC (Photo by Win McNamee/Getty Images)
Win McNamee/Getty Images
US.President Donald Trump departs the White House July 31, 2018 in Washington, DC (Photo by Win McNamee/Getty Images)
Now playing
02:03
Trump team suggests ACLU find deported parents
President Donald Trump speaks during a rally, Thursday, Aug. 2, 2018, at Mohegan Sun Arena at Casey Plaza in Wilkes Barre, Pa. (AP Photo/Matt Rourke)
Matt Rourke/AP
President Donald Trump speaks during a rally, Thursday, Aug. 2, 2018, at Mohegan Sun Arena at Casey Plaza in Wilkes Barre, Pa. (AP Photo/Matt Rourke)
Now playing
02:16
Trump slams probe 'hoax' despite intel warning
John Kelly answers questions during a press conference related to President Donald Trump's recent executive order concerning travel and refugees, January 31, 2017 in Washington, DC.
Drew Angerer/Getty Images
John Kelly answers questions during a press conference related to President Donald Trump's recent executive order concerning travel and refugees, January 31, 2017 in Washington, DC.
Now playing
00:57
Trump asked John Kelly to stay through 2020
US candidate to the head of International Organization for Migration (IOM) Ken Isaacs looks on during a press briefing on March 19, 2018 in Geneva.
Fabrice Coffrini/AFP/Getty Images
US candidate to the head of International Organization for Migration (IOM) Ken Isaacs looks on during a press briefing on March 19, 2018 in Geneva.
Now playing
00:32
Trump's pick for UN migration job voted down
Nicholas Kamm/AFP/Getty Images/File
Now playing
01:59
Trump appointee guts UN document on racism
Bill Shine, left, and President Donald Trump
Getty Images
Bill Shine, left, and President Donald Trump
Now playing
00:51
Former Fox News executive takes White House job
Vice President Mike Pence speaks at Las Vegas City Hall on October 7, 2017.
Ethan Miller/Getty
Vice President Mike Pence speaks at Las Vegas City Hall on October 7, 2017.
Now playing
02:34
Genealogist: Chain migration helped Pence family
getty images/dpa/ap
Now playing
02:57
Vets call on WH to fire aide over crude joke
White House Chief of Staff John Kelly awaits fthe start of a jobs creation pledge event in the East Room of the White House July 19, 2018 in Washington, DC. (BRENDAN SMIALOWSKI/AFP/Getty Images)
BRENDAN SMIALOWSKI/AFP/Getty Images
White House Chief of Staff John Kelly awaits fthe start of a jobs creation pledge event in the East Room of the White House July 19, 2018 in Washington, DC. (BRENDAN SMIALOWSKI/AFP/Getty Images)
Now playing
02:08
Kelly retracts comment Trump is 'embarrassed'
(CNN) —  

National security adviser H.R. McMaster has resigned and will be replaced by former US ambassador and Fox News analyst John Bolton, President Donald Trump announced in a tweet on Thursday.

“I am pleased to announce that, effective 4/9/18, @AmbJohnBolton will be my new National Security Advisor. I am very thankful for the service of General H.R. McMaster who has done an outstanding job & will always remain my friend. There will be an official contact handover on 4/19.”

“The two have been discussing this for some time. The timeline was expedited as they both felt it was important to have the new team in place, instead of constant speculation,” a White House official said. “This was not related to any one moment or incident, rather it was the result of ongoing conversations between the two.”

“After 34 years of service to our nation, I am requesting retirement from the U.S. Army effective this summer after which I will leave public service. Throughout my career it has been my greatest privilege to serve alongside extraordinary servicemembers and dedicated civilians,” McMaster said in a statement released by the White House.

“I am thankful to President Donald J. Trump for the opportunity to serve him and our nation as national security advisor. I am grateful for the friendship and support of the members of the National Security Council who worked together to provide the President with the best options to protect and advance our national interests,” the statement said.

Trump and Bolton have been discussing for weeks how he could replace McMaster. According to a source familiar with those negotiations, Bolton promised Trump “he wouldn’t start any wars” if he was selected.

Shortly after the news broke, Bolton said on Fox News that he wasn’t expecting an announcement to be made Thursday afternoon.

Asked when he was offered the job, Bolton said “it came to a conclusion this afternoon.”

CNN also confirmed that Bolton met with Trump Thursday.

White House officials told CNN that they were surprised by Trump’s acceleration of the announcement, saying it was unexpected, and one official added that the choice of Bolton was expected to be part of a bigger release.

An official said the blowback over Trump’s call to Russian President Vladimir Putin on his reelection sped up the announcement. One official also said Trump was eager to get ahead of other news.

Bolton said in the Fox News interview that he will be going through a transition period – which will include working with McMaster – before taking over on April 9.

A controversial pick

Bolton’s hard edged, hawkish views on issues like North Korea, Iraq and Syria make him a controversial pick to become the next national security adviser – particularly considering that talks with North Korea may soon be possible.

Several sources have told CNN that Defense Secretary James Mattis opposed the pick and tried to block Bolton from getting the job.

Bolton said on Fox News Thursday that he and Mattis have never met.

The Pentagon said it does not have an official comment to make at this time.

Megan Stifel, a former NSC staffer during the Obama administration responded to the news by simply tweeting: “Now I’m concerned.”

Early in the Trump administration Bolton – a stalwart of several Republican administrations – was considered as a possible secretary of state and since then has made visits to the West Wing every few months to discuss foreign policy and national security.

A source familiar with those meetings said the two have spent more time recently getting to know each other, discussing Bolton’s views and getting a better sense of each other.

Initially there was a concern that Bolton had not made it clear enough that, if tapped, he would “absolutely go along with Trump,” a source close to Bolton told CNN, adding that during their last meeting he went over and above to make clear he will do exactly what Trump wants.

Bolton said on Fox News that he has been a prolific speaker and writer for years in Washington, but said that his past comments are now “behind me” and what matters is “what the President says.”

After the two met in the Oval Office last week, a source close to the President said: “Trump has always wanted Bolton.”

Despite once bemoaning Bolton’s thick mustache as unbefitting of a senior White House official, Trump has now determined he can look past it, one person familiar with his thinking said.

McMaster has been on thin ice

Amid speculation about McMaster’s fate CNN has reported that the three-star general has been in discussions with the Hoover Institution. As recently as March 8, the White House was denying reports that McMaster was on his way out, with spokeswoman Sarah Sanders declaring on “Fox & Friends” that “General McMaster’s not going anywhere.”

CNN reported earlier this month that the Pentagon has also been considering options that would allow the President to potentially move McMaster out of his current role and back into the military, according to half a dozen defense and administration officials.