The Mexican Senate overwhelmingly ratified the new trade deal with Canada and the United States on Wednesday despite misgivings from liberals and tensions with the U.S. over immigration.
Lawmakers passed the measure 114 to 4. Mexico was the first country to approve the United States-Mexico-Canada Agreement — the replacement for the 1994 North American Free Trade Agreement.
U.S. President Donald Trump had called NAFTA one of "the worst trade deals ever made," saying it killed U.S. jobs and gave all the advantages to Mexico.
The new agreement is almost identical to the old one. The main differences include the conditions that cars exported to the U.S. must contain more U.S.-made parts, and that U.S. dairy farmers will be able to sell products to Canada.
Some Mexican lawmakers said they felt Trump bullied Mexico into accepting a new trade deal, but they voted for it because they said there was no alternative.
The Canadian parliament has not voted on it yet, and the agreement faces opposition in the Democratic-led U.S. House.