Updated

The U.S. military will "CLOSE OUR SOUTHERN BORDER" with Mexico if officials there don't soon stop the northward push of a massive migrant caravan, President Trump warned Thursday, amid reports the procession had swelled in size to about 4,000 people.

Trump's latest threat against the caravan -- which originated in Honduras and is bound for the U.S. in a bid to escape pervasive poverty and violence – comes as Secretary of State Mike Pompeo heads to Central America to discuss the issue.

“I am watching the Democrat Party led (because they want Open Borders and existing weak laws) assault on our country by Guatemala, Honduras and El Salvador, whose leaders are doing little to stop this large flow of people, INCLUDING MANY CRIMINALS, from entering Mexico to U.S.,” Trump tweeted Thursday morning.

He added: “In addition to stopping all payments to these countries, which seem to have almost no control over their population, I must, in the strongest of terms, ask Mexico to stop this onslaught - and if unable to do so I will call up the U.S. Military and CLOSE OUR SOUTHERN BORDER!”

The caravan, which as of Thursday morning was estimated to contain about 4,000 people, is persistently inching toward the Mexico-Guatemala border, where Mexican officials have sent 500 additional federal police officers ahead of the procession's arrival, NBC News reported, citing U.S. government documents.

Mexico has said anyone with travel documents and the correct visa will be allowed to pass, and some others in the group can apply for refugee status. But officials also cautioned those who try to cross in an “irregular manner” could be detained and deported, according to the Associated Press.

The AP added that none of the migrants its reporters spoke to were carrying passports, which all but assures a high-stakes showdown with Mexican border officials in the coming days.

One member of the caravan, Henry Tejeda, told the AP he left his wife and four children to join the group due to increasing violence in Honduras, where he said his mother was murdered four years ago and his brother was shot.

"I am carrying the documents to prove I'm not lying," Tejeda said. "I want to seek political asylum [in the U.S.] and help my family."

The well-traveled Pompeo – fresh off a high-profile Middle East jaunt during which he met with leaders from Saudi Arabia and Turkey regarding the disappearance of activist Jamal Khashoggi – is now scheduled to head to Panama City on Thursday and Mexico City on Friday.

He will meet with the presidents of both countries to “discuss our ongoing security cooperation efforts to disrupt the illicit movement of cash, weapons, drugs across our shared border as well as the issue of stemming illegal immigration and strengthening accountability for corruption and human rights abuses, and bringing members of transnational criminal organizations to justice,” a senior State Department official said.

The migrant caravan will be a “prominent” topic of discussion, too, the official said.

“Certainly it’s an issue that we have viewed as a shared challenge and we continue to work closely with countries in the region to address the underlying economic, security, and governance conditions that have driven illegal immigration to the United States,” the official added.

Since 2015, the U.S. government has sent more than $2.6 billion in foreign assistance to the Northern Triangle countries of Guatemala, Honduras and El Salvador. Trump has repeatedly threatened to cut off that aid if the mass migration continues.

The caravan set off last Friday from San Pedro Sula, Honduras’ second-largest city and a place widely considered to be one of most dangerous in the world when judged by homicide rate. At its start, the group consisted of about 160 people, according to an AP estimate.