WASHINGTON (Reuters) - Defense Secretary Jim Mattis has authorized the use of troops and other military resources at the U.S.-Mexico border, U.S. officials said on Friday, bolstering President Donald Trump’s battle against migrants trekking toward the United States.

The officials, who spoke on condition of anonymity, said Mattis’ authorization did not include a specific number of troops, something that would be determined at a later point, and was not itself a “deployment order.”

The Pentagon did not comment on potential troop numbers, which U.S. officials have told Reuters could be at least 800 active-duty troops and begin deploying as soon as Tuesday.

The U.S. military said Mattis had authorized the military to provide “mission-enhancing capabilities” to U.S. Customs and Border Protection, including engineering support to help build temporary barriers and housing.

U.S. pilots would provide transportation for civilian government personnel, it said in a statement.

One U.S. official told Reuters that some of the U.S. troops could be called in to assist with traffic and crowd control on the U.S. side of the border, potentially helping to manage demonstrators. It was unclear as of Friday if any of the U.S. forces would be armed.

Officials stressed that U.S. troops would not be engaged in any law enforcement activities, something that is prohibited under U.S. law, and instead would focus on support roles in areas like infrastructure and logistics.

FILE PHOTO: U.S. Defense Secretary James Mattis answers a question from the news media as U.S. President Donald Trump spoke during a gathering for a briefing from his senior military leaders in the Cabinet Room at the White House in Washington, U.S., October 23, 2018. REUTERS/Leah Millis

Trump has hammered away at the issue of illegal immigration two weeks ahead of congressional elections. Taking aim at the caravan of Central American migrants, Trump wrote on Twitter on Thursday he was “bringing out the military for this National Emergency. They will be stopped!”

On Friday, Mexico offered temporary identification papers and jobs to migrants who register for asylum in that country, stepping up efforts to halt the advance of thousands of people from Central America heading to the U.S. border.

The caravan, which began in Honduras nearly two weeks ago and picked up other Central Americans along the way, has angered Trump, who has maintained a hard-line on immigration.

A banner hanging over a bridge on the migrants’ path read: “Your hearts are brave, don’t give up.”

Trump and his fellow Republicans have sought to make the migrant caravan and immigration major issues before the Nov. 6 elections, in which Republicans are battling to keep control of Congress.

Trump pledged during the 2016 presidential race to build a wall along the southern U.S. border with Mexico. But the funding for his signature campaign promise has been slow to materialize.

In April, frustrated by lack of progress on the wall, Trump ordered the National Guard to help secure the border.

Congressman Adam Smith, the top Democrat on the House Armed Services Committee, condemned the mobilization of forces.

“There is absolutely no reason to further politicize and militarize this humanitarian crisis,” he said.

The top Republican on the committee, Representative Mac Thornberry, said the deployment was consistent with prior deployments by former presidents Barack Obama and George W. Bush.