President Trump announced on Twitter Friday evening that tariffs against Mexican goods were "indefinitely suspended" following Mexico's agreement to take stronger measures to curb immigration across the southern border of the U.S.

Why it matters: This averts a new round of tariffs.

State of play: Mexico is expected to take necessary measures — including increased security — to “greatly reduce, or eliminate, Illegal Immigration coming from Mexico and into the United States.”

Had a deal not been reached, a 5% tariff was expected to go into effect starting Monday.

The suspension of these tariffs means Trump has avoided a possible Congressional battle, reports Politico.

"We would like to thank Mexican Foreign Minister Marcelo Ebrard for his hard work to negotiate a set of joint obligations that benefit both the United States and Mexico. The United States looks forward to working alongside Mexico to fulfill these commitments so that we can stem the tide of illegal migration across our southern border and to make our border strong and secure."

— U.S. Department of State statement on the conclusion of negotiations

The big picture: Mexico — the United States' top trading partner — traded an estimated $671 billion worth of goods in 2018 according to the Office of the United States Trade Representative.

Details of the deal:

Mexico has agreed to deploy 6,000 National Guard troops throughout the country, but will focus on its southern border with Guatemala — where the largest number of migrants trying to cross into the U.S. come from.

Mexico has agreed to house migrants seeking asylum in the U.S. — which will include, housing, offering jobs, health care and education — while the U.S. agrees to accelerate asylum claims.

If the deal does not have the "expected results," then the 2 nations will meet again in 90 days.

There will also be a new focus on regional stability and prosperity, with the U.S. supporting the Comprehensive Development Plan, which focuses on curbing migration, launched by Mexico, Guatemala, El Salvador and Honduras.

Go deeper: The behind-the-scenes scramble to announce Trump's Mexico tariff surprise