Sen. Elizabeth Warren (D-Mass.) supports withdrawing American troops from military engagements in Syria and Afghanistan, she told MSNBC host Rachel Maddow on Wednesday night.

Warren, who announced an exploratory committee this week for a presidential run in 2020, made the comments when asked for her views on President Donald Trump’s recent decision to pull all U.S. military personnel out of Syria.

“I think it is right to get our troops out of Syria ― and let me add, I think it’s right to get our troops out of Afghanistan,” Warren said.

“I think that everybody who keeps saying, ‘No, no, no, we can’t do that,’ in the defense establishment needs to explain what they think winning in those wars [looks] like and where the metrics are,” the senator said.

But Warren disagreed with Trump’s abrupt announcement of his decision on Syria, saying that policy shouldn’t be conducted via Twitter.

“We actually need to plan this out and talk about it with our allies, how we ensure more safety and stability in the region,” she said.

Trump tweeted late last month that the U.S. had defeated the Islamic State militant group in Syria ― a claim experts reject ― and that it was time for American troops to come home. The announcement sparked immediate backlash from military and intelligence officials, including the resignations of Jim Mattis, the defense secretary, and Brett McGurk, the U.S. special envoy to the coalition to fight ISIS.

22 PHOTOS Sen. Elizabeth Warren See Gallery Sen. Elizabeth Warren Sen. Elizabeth Warren, D-Mass., attends a Senate Armed Services Committee hearing in Dirksen Building titled 'Foreign Cyber Threats to the United States,' featuring testimony by Director of National Intelligence James Clapper and others, January 5, 2016. (Photo By Tom Williams/CQ Roll Call) Senate Armed Services Committee members (L-R) Sen. Martin Heinrich (D - NM), Sen. Elizabeth Warren (D-MA) and Sen. Gary Peters (D-MI) talk during a hearing in the Dirksen Senate Office Building on Capitol Hill January 5, 2017 in Washington, DC. The intelligence chiefs testified to the committee about cyber threats to the United States and fielded questions about effects of Russian government hacking on the 2016 presidential election. (Photo by Chip Somodevilla/Getty Images) Senate Armed Services Committee Chairman John McCain (R-AZ) (L) and Sen. Elizabeth Warren (D-MA) arrive for a hearing with the Director of National Intelligence and National Security Agency chief in the Dirksen Senate Office Building on Capitol Hill January 5, 2017 in Washington, DC. The intelligence chiefs testified to the committee about cyber threats to the United States and fielded questions about effects of Russian government hacking on the 2016 presidential election. (Photo by Chip Somodevilla/Getty Images) Democratic Nominee for President of the United States former Secretary of State Hillary Clinton, accompanied by Senator Elizabeth Warren (D-MA), speaks to and meets New England voters during a rally at Saint Anselm College in Manchester, New Hampshire on Monday October 24, 2016. (Photo by Melina Mara/The Washington Post via Getty Images) Mark Wahlberg, Former Boston Police Commissioner Ed Davis, Boston Police Commissioner Billy Evans, Former Boston Red Sox player David Ortiz, Dun 'Danny' Meng, Jessica Downes, Patrick Downes, Senator Elizabeth Warren, director Peter Berg and Harvard Law professor Bruce Mann pose on the red carpet at the 'Patriots Day' screening at the Boch Center Wang Theatre on December 14, 2016 in Boston, Massachusetts. (Photo by Natasha Moustache/WireImage) Democratic Nominee for President of the United States former Secretary of State Hillary Clinton, accompanied by Senator Elizabeth Warren (D-MA), speaks to and meets New England voters during a rally at Saint Anselm College in Manchester, New Hampshire on Monday October 24, 2016. (Photo by Melina Mara/The Washington Post via Getty Images) Former Red Sox player David Ortiz talks with Senator Elizabeth Warren at the 'Patriots Day' screening at the Boch Center Wang Theatre on December 14, 2016 in Boston, Massachusetts. (Photo by Natasha Moustache/WireImage) Democratic presidential nominee Hillary Clinton and Senator Elizabeth Warren hold a rally at St. Anselm College in Manchester, NH on Oct. 24, 2016. (Photo by Suzanne Kreiter/The Boston Globe via Getty Images) U.S. Senator Elizabeth Warren speaks at a Manchester 'New Hampshire Together' Canvass Launch event in Manchester, NH on Sept. 24, 2016. (Photo by Craig F. Walker/The Boston Globe via Getty Images) Senior United States Senator from Massachusetts, Elizabeth Warren speaks onstage at EMILY's List Breaking Through 2016 at the Democratic National Convention at Kimmel Center for the Performing Arts on July 27, 2016 in Philadelphia, Pennsylvania. (Photo by Paul Zimmerman/Getty Images For EMILY's List) US Senator Elizabeth Warren, Democrat of Massachusetts, holds up copies of Wells Fargo earnings call transcripts as she questions John Stumpf, chairman and CEO of Wells Fargo, as he testifies about the unauthorized opening of accounts by Wells Fargo during a Senate Banking, Housing and Urban Affairs Committee hearing on Capitol Hill in Washington, DC, September 20, 2016. (SAUL LOEB/AFP/Getty Images) Sen. Elizabeth Warren (D-MA) along with members of the Democratic Women of the Senate acknowledge the crowd on the fourth day of the Democratic National Convention at the Wells Fargo Center, July 28, 2016 in Philadelphia, Pennsylvania. Democratic presidential candidate Hillary Clinton received the number of votes needed to secure the party's nomination. An estimated 50,000 people are expected in Philadelphia, including hundreds of protesters and members of the media. The four-day Democratic National Convention kicked off July 25. (Photo by Jessica Kourkounis/Getty Images) Sen. Elizabeth Warren (D-MA) delivers remarks on the first day of the Democratic National Convention at the Wells Fargo Center, July 25, 2016 in Philadelphia, Pennsylvania. An estimated 50,000 people are expected in Philadelphia, including hundreds of protesters and members of the media. The four-day Democratic National Convention kicked off July 25. (Photo by Alex Wong/Getty Images) Representative Joseph P. Kennedy III welcomes Massachusetts Senator Elizabeth Warren on stage on Day 1 of the Democratic National Convention at the Wells Fargo Center in Philadelphia, Pennsylvania, July 25, 2016. (BRENDAN SMIALOWSKI/AFP/Getty Images) Former Secretary of State Hillary Clinton accompanied by Senator Elizabeth Warren (D-MA) speaks to and meets Ohio voters during a rally at the Cincinnati Museum Center at Union Terminal in Cincinnati, Ohio on Monday, June 27, 2016. (Photo by Melina Mara/The Washington Post via Getty Images) The Late Show with Stephen Colbert airing live, Thursday July 21, 2016 in New York. With guest Elizabeth Warren . (Photo by Scott Kowalchyk/CBS via Getty Images) Sen. Elizabeth Warren (D-MA) arrives in the Capitol for the on Tuesday, June 28, 2016. (Photo By Bill Clark/CQ Roll Call) U.S. Sen. Elizabeth Warren (D-MA) (R) meets with Supreme Court nominee Merrick Garland (L), chief judge of the D.C. Circuit Court, April 14, 2016 on Capitol Hill in Washington, DC. Garland continued to place visits to Senate members after he was nominated by President Barack Obama to succeed the late Justice Antonin Scalia. (Photo by Alex Wong/Getty Images) Senator Elizabeth Warren, a Democrat from Massachusetts, listens as Janet Yellen, chair of the U.S. Federal Reserve, testifies during a Senate Banking Committee hearing in Washington, D.C., U.S., on Tuesday, June 21, 2016. Yellen offered a subtle change to her outlook from less than a week ago, saying she and her colleagues were on watch for whether, rather than when, the U.S. economy would show clear signs of improvement. (Photographer: Pete Marovich/Bloomberg via Getty Images) Sen. Elizabeth Warren, D-Mass., greets guests during a rally on the east lawn of the Capitol to urge Senate Minority Leader Mitch McConnell, R-Ky., to hold a vote on the 'Seniors and Veterans Emergency Benefits Act,' March 9, 2016. The legislation would provide a one time payment to seniors, veterans and other SSI recipients who will not get a cost-of-living adjustment this year. (Photo By Tom Williams/CQ Roll Call) Senators Bob Corker (L) and Elizabeth Warren (R) speak before a Senate Banking Committee on the semiannual monetary report to Congress hearing in Washington, USA on February 11, 2016. (Photo by Samuel Corum/Anadolu Agency/Getty Images) Senator Elizabeth Warren (D-MA), talks with Rep. Elijah Cummings (D-MD) in the House chamber prior to President Obama's State of the Union speech on Capitol Hill in Washington, February 12, 2013. (REUTERS/Charles Dharapak/Pool) Up Next See Gallery Discover More Like This HIDE CAPTION SHOW CAPTION of SEE ALL BACK TO SLIDE

The United States has around 2,000 military personnel in Syria, where they have supported Kurdish militia forces in retaking territory seized by ISIS. The presence of U.S. troops is also a counterbalance to Russian and Iranian forces, which have propped up Syrian dictator Bashar Assad’s regime.

The U.S. has around 14,000 troops in Afghanistan and is in its 18th year of military intervention there. Last month, Trump ordered the gradual withdrawal of 7,000 of those forces.

In her MSNBC interview, Warren said she rejected the “foreign policy establishment” view that U.S. forces should “stay forever” in Afghanistan, arguing that the prolonged American presence in that country hasn’t resulted in lasting security or stability.

“We’re now 17 years in Afghanistan and ... the [Afghan] government controls less than 60 percent of all the land,” Warren said. “It doesn’t have the support of the people. The heroin trafficking is up. There are multiple groups that are terrorist groups throughout Afghanistan.”

Warren is a member of the Senate Armed Services Committee and the highest-profile Democrat to formally announce a potential bid for president.

More from :

Jim Mattis implores Defense Department to defend the Constitution in farewell memo

John Kelly Blames Jeff Sessions For Family Separation Policy

GOP Senator says voter suppression is a 'great idea'