China on Tuesday issued a warning to Argentina that it would be a “huge foreign policy mistake” for Buenos Aires to cut ties, shortly after right-wing libertarian Javier Milei secured victory in the South American nation’s presidential runoff.

Milei, who on Sunday comfortably beat Peronist Economy Minister Sergio Massa, had been sharply critical of China on the campaign trail and pledged to freeze relations with one of Argentina’s most important trading partners.

The president-elect said Argentina would no longer work with “communist” regimes, reportedly likened Beijing’s government to an “assassin” and said the people of China were “not free.” Milei’s four-year term will begin from Dec. 10.