A former Mexican government official says that in response to President Trump's crackdown on illegal immigration, his nation might stop cooperating with the United States in the war against the drug cartels, which would unleash what an analysis has described as "chaos and violence."

The warning came from Jorge Castaneda Gutman, a former secretary of foreign affairs for Mexico, whose leadership has been in an uproar over Trump's plan to stop illegal immigration.

Trump's plan includes enhanced Border Patrol staffing for boundary enforcement and a border wall that he has insisted Mexico will fund in one way or another.

In a recent CNN interview, Gutman claimed that the drugs and associated violence are not Mexico's problem, even though the drug cartels have murdered tens of thousands of Mexicans, beheading many of their victims.

TRENDING: Wildfires to get worse thanks to Clinton policies, says fire expert who predicted uptick in blazes

He told CNN that Mexico "has a lot of negotiating chips in this matter … but it also has measures we could take in other areas."

Former U.S. Rep. Tom Tancredo writes in his "In Mortal Danger" how those in America illegally are demanding the rights granted to citizens.

"For example, the drugs that come through Mexico from South America, or the drugs that are produced here in Mexico all go to the United States," he said. "This is not our problem."

Gutman then boasted of his nation's work with the U.S. but warned it might not last.

"We have been cooperating with the United States for many years on these issues because they've asked us to and because we have a friendly, trustful relationship. If that relationship disappears, the reasons for cooperation also disappear," he said.

At Intellihub, an independent news outlet whose coverage of the secret 2012 Bilderberg meetings became the source of a movie, writer Mac Slavo spelled out the consequences of ending the cooperation.

"[Gutman] suggested that Mexico's previous cooperation with the U.S. in curbing the flow of drugs and illegal immigrants could end," he wrote. "Instead, the cartels could be essentially unleashed upon the U.S. – retribution for tough policies on Mexico and other immigrant-producing countries in the Latin American world."

He said Gutman's comments confirm the link between the cartels and the Mexican government.

"These astonishing words could open up an economic gang war against the U.S. – very irresponsible words that reveal just how connected Mexico's leadership is with the cartels who operate from their territories.

"The implications are astoundingly clear – Mexico would consider exporting chaos and violence into the United States as a form of payback for immigration restrictions and controls against instability that the southern border has brought to the country for decades."

Pointing out "drug cartels and Mexican gangs have killed an estimated 40,000 people over the past decade in Mexico alone," he warned things "could get pretty ugly."

Here's the interview with Gutman's comments:

Here's the full interview:

America on the same suicidal path as Europe but is it too late for Donald Trump to fix the problem? Get all the facts in Leo Hohmann’s brand-new investigative book "Stealth Invasion: Muslim Conquest Through Immigration and Resettlement Jihad."

WND reported last week the state of Texas officially warned that ISIS terrorists were operating on its border with Mexico.

Its Texas Public Safety Threat Overview states, "We are especially concerned about the potential for terrorist infiltration across the U.S.-Mexico border, particularly as foreign terrorist fighters depart Syria and Iraq and enter global migration flows."

And it's not just those who sneak in that are of concern.

"We are concerned about the challenges associated with the security vetting of Syrian war refugees or asylum seekers who are resettled in Texas – namely, that derogatory security information about individuals is inaccessible or nonexistent. We see a potential that these challenges may leave the state exposed to extremist actors who pose as authentic refugees, and who are determined to later commit violent acts," the state explains.

A report at the Investigative Project on Terrorism noted an extra level for concern because "at least 13 aspiring terrorists have tried to cross into Mexico, or considered trying, since 2012."

These are people who have been radicalized and want to travel overseas to join terrorist organizations but cannot travel by air because they are on the no-fly list.

Judicial Watch reported as early as April 2015 that ISIS had established a training camp a few miles from El Paso, Texas, in an area known as "Anapra" just west of Ciudad Juárez in the Mexican state of Chihuahua.

According to the JW report, cartel informants told law enforcement that "they are only waiting for the order and the times to carry out a simultaneous attack in the different ports of entry or cities of the United States of America."

Drug cartels also have a working "agreement" with Islamic terrorists, according to a high-ranking Mexican police administrator, who told JW that men from the Middle East arrive regularly into the country to train jihadists.

Judicial Watch on Tuesday noted the Texas report and said the southern border "has become a hotbed of Islamic terrorism in recent years and Judicial Watch has exposed the national security disaster as part of an ongoing investigation into the dangerously porous region."

Former U.S. Rep. Tom Tancredo writes in his "In Mortal Danger" how those in America illegally are demanding the rights granted to citizens.