Updated

Mexico's president has brought back a Cabinet secretary and close adviser who resigned after arranging a meeting between Enrique Pena Nieto and then-presidential candidate Donald J. Trump.

Pena Nieto on Wednesday appointed former Finance Secretary Luis Videgaray as Mexico's new foreign relations secretary.

FORD’S REVERSAL ON MEXICAN PLANT HAS SOUNDED ALARMS THROUGHOUT COUNTRY

The president asked Videgaray to focus on establishing contacts and dialogue with Trump's administration after the new American leader takes office on Jan. 20.

Relations with Trump have been testy in part because he has encouraged U.S. companies to bring jobs back from south of the border. Ford Motor Co. this week cancelled plans to build a new Mexico plant.

Trump's August visit was highly unpopular in Mexico and Pena Nieto later acknowledged Videgaray resigned because he helped arrange it.

Trump praised Videgaray after he resigned.