NAFTA was a trilateral trade agreement between Mexico, the United States, and Canada, which was in effect until it was replaced by the United States-Mexico-Canada Agreement (USMCA) in 2020. NAFTA played a crucial role in Mexico's economic development and integration into the global economy.