The United States pledged $5.8 billion in aid and investment Tuesday for strengthening government and economic development in Central America, and another $4.8 billion in development aid for southern Mexico.

The U.S aid aims to promote better security conditions and job opportunities as part of a regional plan to allow Central Americans and Mexicans to remain in their countries and not have to emigrate.

It came as the White House signaled that Trump would accept less than the $5 billion he had been demanding to fund a southern border wall, as the threat of a partial government shutdown looms.

The stark contrast drew outrage from conservatives, who questioned why the U.S. should be increasing aid to its southern neighbors while the Trump administration struggles to wring border security funding out of Congress.

'Well there you go. No $5B for southern wall but $10.6B to others. How angry are you?' conservative radio host Wayne Dupree wrote on Twitter.

The White House said on Tuesday that Trump might accept less than the $5 billion he has demanded for border security, even as the US announced $10.6B in aid to Mexico and Central America as part of a package to help address the security and create job opportunities

The aid package is a win for new Mexican President Andres Manuel Lopez Obrador (above), who has pushed for greater US development spending in Central America

The aid plan was announced in a joint U.S.-Mexican statement released by the State Department and read aloud by Mexican Foreign Relations Secretary Marcelo Ebrard in the Mexican capital.

'In sum I think this is good news, very good news for Mexico,' Ebrard said.

Newly inaugurated President Andres Manuel Lopez Obrador waxed poetic about the plan to provide jobs so people won't have to emigrate.

'I have a dream that I want to see become a reality ... that nobody will want to go work in the United States anymore,' Lopez Obrador said at a morning news conference before the announcement.

The combination of public and private investment for the stay-at-home effort doesn't require congressional approval, unlike Trump's signature project to stem illegal immigration - a border wall.

The U.S. State Department issued a simultaneous statement saying 'The United States is committing $5.8 billion through public and private investment to promote institutional reforms and development in the Northern Triangle,' a term that refers to Honduras, Guatemala and El Salvador.

Lopez Obrador's administration has said it is also interested in agricultural, forestry and tourism projects in southern Mexico, and the U.S. said it will contribute to those efforts.

The U.S. Overseas Private Investment Corporation 'is prepared to invest and mobilize $2 billion in additional funds for projects in southern Mexico that are viable and attract private sector investment,' according to the statement.

'This amount is in addition to the $2.8 billion in projects for Mexico through OPIC's current investment pipeline.'

Caravan migrants are seen after crossing the Mexico-US border fence from Mexico into San Diego on Sunday. The US pledged $10.6 billion in aid to Mexico and Central America Tuesday

Ebrard said 'The commitments established here signify more than doubling foreign investment in southern Mexico starting in 2019.'

Southern states like Chiapas and Oaxaca are home to many of Mexico's poorest communities.

Lopez Obrador, who took office December 1, has sought to make development in that region a priority, including plans for a 'Mayan train' stretching from touristy parts of the Yucatan Peninsula down to Chiapas.

It was unclear if Mexico would give anything in return. A planned announcement about Mexico's migration policy was postponed until Wednesday.

The United States has reportedly wanted Mexico to allow migrants seeking asylum in the United States to remain in Mexico while their applications are processed.

Ebrard had previously suggested that about $25 billion in U.S. investment would be an appropriate figure for what Mexicans and Central Americans have dubbed 'The Alliance for Prosperity' in the region.