President-elect Trump said he spoke with Mexican President Claudia Sheinbaum Pardo, saying she has agreed to “stop Migration through Mexico, and into the United States” following threats this week to significantly tariff goods from Mexico.

Trump vowed to impose 25% tariffs on Mexico and Canada if both nations failed to do more to stop the flow of illegal immigrants and drugs into the U.S. Sheinbaum, who recently took office, said on Wednesday that Mexico would retaliate if Trump followed through on his promise.