President Donald Trump responded on Monday to criticism of his decision to withdraw troops from Syria.

“If anybody but Donald Trump did what I did in Syria, which was an ISIS loaded mess when I became President, they would be a national hero,” the president wrote on Twitter.

Trump reminded critics of his foreign policy that he campaigned on: getting the United States out of prolonged conflicts in the Middle East.

“I campaigned against the NEVER ENDING WARS, remember!” he wrote, noting that he wanted American soldiers to return home to their families.

Trump ridiculed the criticism his decision was getting.

“It is Fake News and Pundits who have FAILED for years that are doing the complaining,” he wrote. “If I stayed in Endless Wars forever, they would still be unhappy!”

If anybody but Donald Trump did what I did in Syria, which was an ISIS loaded mess when I became President, they would be a national hero. ISIS is mostly gone, we’re slowly sending our troops back home to be with their families, while at the same time fighting ISIS remnants…… — Donald J. Trump (@realDonaldTrump) December 31, 2018

…I campaigned on getting out of Syria and other places. Now when I start getting out the Fake News Media, or some failed Generals who were unable to do the job before I arrived, like to complain about me & my tactics, which are working. Just doing what I said I was going to do! — Donald J. Trump (@realDonaldTrump) December 31, 2018

…..Except the results are FAR BETTER than I ever said they were going to be! I campaigned against the NEVER ENDING WARS, remember! — Donald J. Trump (@realDonaldTrump) December 31, 2018