The tentative agreement to fund the federal government through the fiscal year and averts a shutdown gives President Donald Trump far less money than he sought for building a border wall with Mexico.

The deal hammered out Monday night provides nearly $1.4 billion, not the $5.7 billion the president had demanded and was at the center of the dispute that sparked last month's record shutdown.

The agreement calls for 55 miles of metal slats or other types of new fencing, not a concrete wall. The fencing would be built in the Rio Grande Valley in Texas.

The pact includes money for other border security measures, including advanced screening at border entry points and customs officers.

Aides revealed some details under condition of anonymity because the agreement is tentative.