Independent presidential candidate Evan McMullin took to Twitter Monday to blast Donald Trump Donald John TrumpBiden leads Trump by 36 points nationally among Latinos: poll Trump dismisses climate change role in fires, says Newsom needs to manage forest better Jimmy Kimmel hits Trump for rallies while hosting Emmy Awards MORE, just as the Republican presidential nominee delivered a major address on terrorism and foreign policy.

McMullin said Trump "vilifies all Muslims as terrorists" and didn't know how to "defeat Islamist terrorism."

.@realDonaldTrump vilifies all Muslims as terrorists because he doesn't understand how to defeat Islamist terrorism. I do. — Evan McMullin (@Evan_McMullin) August 15, 2016

McMullin, a CIA veteran, continued on Twitter, saying Trump would alienate American allies and empower the country's enemies.

.@realDonaldTrump would rather advance the ideas of dictators than those of democracy and basic human rights. — Evan McMullin (@Evan_McMullin) August 15, 2016

What @realDonaldTrump doesn't understand is that dictators create terrorists. They are two sides of the same coin. I've been there. I know. — Evan McMullin (@Evan_McMullin) August 15, 2016

How does @realDonaldTrump intend to work with our allies against terrorists when he's insulted them all? — Evan McMullin (@Evan_McMullin) August 15, 2016

ADVERTISEMENT

Trump in a foreign policy address Monday blamed President Obama and Democratic presidential nominee Hillary Clinton Hillary Diane Rodham ClintonBiden leads Trump by 36 points nationally among Latinos: poll Democratic super PAC to hit Trump in battleground states over coronavirus deaths Battle lines drawn on precedent in Supreme Court fight MORE for the rise of the Islamic State in Iraq and Syria (ISIS). He also vowed to protect the nation from terrorism, including by issuing tests for prospective immigrants to prevent any attackers from entering the U.S.

The speech came after Trump sparked controversy last week by saying Obama had founded ISIS. Trump initially doubled down on those remarks before claiming that he was only being sarcastic.

McMullin, though, said on Twitter that Trump would only embolden terrorists.

In @realDonaldTrump's "new approach," America turns its back on the universal cause of freedom and allows terrorism to thrive. — Evan McMullin (@Evan_McMullin) August 15, 2016

.@realDonaldTrump gives aid and comfort to ISIS when he undermines America's core ideals. — Evan McMullin (@Evan_McMullin) August 15, 2016

McMullin officially launched his long-shot White House run last week as an alternative to Trump and Clinton.

His campaign on Sunday announced that the Independence Party of Minnesota had made him its presidential nominee.

The Independence Party and McMullin’s campaign are now working toward gathering the 2,000 signatures needed to appear on Minnesota’s ballot.