Open this photo in gallery:

Prime Minister Mark Carney and Mexican President Claudia Sheinbaum shake hands after announcing a pact to deepen their countries’ economic ties at the National Palace in Mexico City on Thursday.YURI CORTEZ/AFP/Getty Images

Prime Minister Mark Carney and his Mexican counterpart President Claudia Sheinbaum vowed closer ties Thursday against the backdrop of rising U.S. protectionism, and the likelihood Donald Trump will soon make major demands to renegotiate the trilateral trade deal.

Mr. Carney, at Mexico’s National Palace, signed what he and Ms. Sheinbaum call a “strategic comprehensive partnership” pact aimed at deepening two-way trade and investment – a document also intended to signal the era of indifference in the Canada-Mexico relationship is over.

They said they would prioritize the development of trade infrastructure including ports, rail and energy corridors and invest and trade more in areas, including energy, critical minerals and agriculture.

It’s been nearly eight years since a Canadian prime minister visited Mexico outside of a trilateral meeting with the U.S. Former Mexican president Andrés Manuel López Obrador did not visit Canada during his six-year tenure that ended in 2024.

More to come.