PHOTO: ISIS propaganda
Now playing
03:24
Envoy credits Trump for ISIS' decline (2017)
Now playing
03:02
Avlon: Republicans offended by Biden's call for unity
WASHINGTON, DC - NOVEMBER 19: Rudy Giuliani holds up a mail-in ballot as he speaks to the press about various lawsuits related to the 2020 election,  inside the Republican National Committee headquarters on November 19, 2020 in Washington, DC. President Donald Trump, who has not been seen publicly in several days, continues to push baseless claims about election fraud and dispute the results of the 2020 United States presidential election. (Photo by Drew Angerer/Getty Images)
WASHINGTON, DC - NOVEMBER 19: Rudy Giuliani holds up a mail-in ballot as he speaks to the press about various lawsuits related to the 2020 election, inside the Republican National Committee headquarters on November 19, 2020 in Washington, DC. President Donald Trump, who has not been seen publicly in several days, continues to push baseless claims about election fraud and dispute the results of the 2020 United States presidential election. (Photo by Drew Angerer/Getty Images)
PHOTO: Drew Angerer/Getty Images North America/Getty Images
Now playing
02:30
Dominion contemplates next legal move after Giuliani lawsuit
US President Joe Biden delivers remarks before signing an Executive Order in the South Court Auditorium at the White House on January 25, 2021 in Washington, DC. (Photo by JIM WATSON / AFP) (Photo by JIM WATSON/AFP via Getty Images)
US President Joe Biden delivers remarks before signing an Executive Order in the South Court Auditorium at the White House on January 25, 2021 in Washington, DC. (Photo by JIM WATSON / AFP) (Photo by JIM WATSON/AFP via Getty Images)
PHOTO: Jim Watson/AFP/Getty Images
Now playing
02:50
Biden thinks US can get to 1.5 million vaccine doses daily
TAMPA, FL - AUGUST 29:  U.S. Sen. Rob Portman (R-OH) waves during the third day of the Republican National Convention at the Tampa Bay Times Forum on August 29, 2012 in Tampa, Florida. Former Massachusetts Gov. Former Massachusetts Gov. Mitt Romney was nominated as the Republican presidential candidate during the RNC, which is scheduled to conclude August 30.  (Photo by Mark Wilson/Getty Images)
TAMPA, FL - AUGUST 29: U.S. Sen. Rob Portman (R-OH) waves during the third day of the Republican National Convention at the Tampa Bay Times Forum on August 29, 2012 in Tampa, Florida. Former Massachusetts Gov. Former Massachusetts Gov. Mitt Romney was nominated as the Republican presidential candidate during the RNC, which is scheduled to conclude August 30. (Photo by Mark Wilson/Getty Images)
PHOTO: Mark Wilson/Getty Images
Now playing
02:16
GOP senator explains why he won't seek reelection
diegal
diegal
PHOTO: CNN
Now playing
02:58
Former Republican: We've got a bankrupt party
Now playing
02:26
See Biden sign executive order lifting transgender military ban
WASHINGTON, DC - AUGUST 10:  The Trump International Hotel is shown on August 10, 2017 in Washington, DC.  The hotel, located blocks from the White House, has become both a tourist attraction in the nation
WASHINGTON, DC - AUGUST 10: The Trump International Hotel is shown on August 10, 2017 in Washington, DC. The hotel, located blocks from the White House, has become both a tourist attraction in the nation's capital and also a symbol of President Trump's intermingling of business and politics. (Photo by Win McNamee/Getty Images)
PHOTO: Win McNamee/Getty Images
Now playing
01:56
Why SCOTUS is dismissing emolument cases against Trump
PHOTO: CNN
Now playing
02:20
Legal analyst: Dominion's case looks pretty strong
John Avlon 0125
John Avlon 0125
PHOTO: CNN
Now playing
03:08
Avlon: The Republicans who stood up to Trump were our bulwark
Now playing
03:19
Some GOP lawmakers are defying Capitol security measures
PHOTO: CNN
Now playing
01:17
Sen. Romney: Senate trial after Trump leaving office is constitutional
Now playing
07:26
'What research did you do?': Brown presses GOP lawmaker on election fraud claims
PHOTO: CNN
Now playing
01:42
Acosta describes covering last day of Trump administration
WASHINGTON, DC - FEBRUARY 06: Rep. Alexandria Ocasio-Cortez (D-NY) attends a press conference with Rep. Andy Levin (D-MI) about their new bill called the EV Freedom Act on Capitol Hill on February 6, 2020 in Washington, DC. The EV Freedom Act is a plan to create a nation wide charging infrastructure for electric vehicles. (Photo by Samuel Corum/Getty Images)
WASHINGTON, DC - FEBRUARY 06: Rep. Alexandria Ocasio-Cortez (D-NY) attends a press conference with Rep. Andy Levin (D-MI) about their new bill called the EV Freedom Act on Capitol Hill on February 6, 2020 in Washington, DC. The EV Freedom Act is a plan to create a nation wide charging infrastructure for electric vehicles. (Photo by Samuel Corum/Getty Images)
PHOTO: Samuel Corum/Getty Images
Now playing
03:35
Rioter charged with threatening to 'assassinate' Ocasio-Cortez, officer
Now playing
02:41
Loyal Texas Trump voters want Biden to be less divisive
(CNN) —  

Brett McGurk, the special presidential envoy for the global coalition to counter ISIS, submitted his resignation Friday because of President Donald Trump’s decision to pull US forces out of Syria, according to two senior officials and several sources familiar with his thinking.

McGurk had previously said privately that he was going to leave the administration in February of next year.

A State Department official told CNN that McGurk had informed Secretary of State Mike Pompeo on Friday that he was resigning, effective December 31.

CBS News was the first to report the news of McGurk’s resignation, which came one day after Defense Secretary James Mattis resigned, also in part due to the Syria decision.

Going against the advice of his military and national security advisers, Trump on Wednesday announced the “full” and “rapid” withdrawal of US military from Syria, declaring that the US has defeated ISIS.

McGurk was in Iraq meeting with senior leaders when Trump tweeted out the decision. Sources familiar with the matter said McGurk was frustrated over Trump’s sudden announcement, which was the opposite of the strategy he had just been briefing coalition partners on while in the region: to stay in Syria, fight ISIS and counter Iran.

According to the sources, McGurk viewed the Syria decision as reckless and couldn’t defend it, let alone execute it. He felt his integrity and his credibility were on the line, the sources told CNN.

“Brett was able to get US coalition partners to commit troops based on a code of trust with allies that the US was in the fight with them,” said one source familiar with McGurk’s thinking. “So after this sudden snap decision by the President to get out, he knew he could not be the one carrying this out.”

McGurk was particularly concerned about how the withdrawal would leave US allies in the region, specifically the Kurds, abandoned in the fight against ISIS, a source told CNN. US coalition partners were also worried about the sudden shift in policy. For example, terrorist attacks earlier this year in Paris were hatched from the ISIS stronghold of Raqqa in Syria.

McGurk, however, had long been dissatisfied with the Trump administration’s policy in Syria and what he felt was a lack of strategy, the source said.

A senior administration official downplayed the move, calling McGurk “an architect of Obama’s failed Iran deal,” who “was already scheduled to depart from his role in January.”

The sources said Mattis’ resignation also played a part in the timing of McGurk’s resignation.

Earlier this month, McGurk said the roughly 2,000 US forces would remain in Syria even after ISIS was defeated.

“I think it’s fair to say Americans will remain on the ground after the physical defeat of the caliphate, until we have the pieces in place to ensure that that defeat is enduring,” he said during a State Department briefing on December 11.

He added, “It would be reckless if we were just to say, ‘Well, the physical caliphate is defeated, so we can just leave now.’ I think anyone who’s looked at a conflict like this would agree with that.”

“I think it says a lot for how strongly he feels about the President’s decision that even just a couple of months before he was going to leave anyway, he’s leaving now and so immediately,” CNN national security analyst John Kirby, a retired US Navy rear admiral, told CNN’s Fredricka Whitfield on Saturday.

Kirby added, “It just shows you how significant it is and how severe it’s going to be to our ability to keep this coalition together going forward.”

First appointed to the envoy role in 2015, McGurk brought decades of experience in the region to overseeing a global coalition of 79 members.

McGurk was one of the few Obama administration holdovers to serve in the current administration. He also served under President George W. Bush.

When McGurk was initially going to leave the Trump administration in February, he was planning a move to a position at Stanford University, sources said.

CNN’s Ryan Browne contributed to this report.