GettyImages-83026080 (1)
A man walks around the stand of Ford during the International Hall of the Automobile 2008 in Mexico City. Getty

Ford Motor Co., criticized by Republican presidential front-runner Donald Trump for manufacturing outside the United States, announced Tuesday that it would invest $1.6 billion to build more small cars in Mexico, starting in 2018.

The automaker made the announcement as Trump, U.S. Sen. Ted Cruz of Texas and Ohio Gov. John Kasich competed in a crucial primary in Wisconsin.

Trump, who has criticized U.S. companies for “sending jobs to Mexico,” has singled out Ford for some of his harshest remarks.

A senior Mexican official said Mexico had stepped back from a high-profile announcement on the Ford plant to avoid stoking tensions in the U.S. election debate stemming from Trump’s comments.

Ford Motor Company (F) | FindTheCompany

Joe Hinrichs, executive vice president and head of the Americas for Ford, said on Tuesday that the automaker is investing more money in Mexico “to improve our small-car profitability.”

Hinrichs declined to say what products Ford plans to build at the San Luis Potosí plant, which is slated to open in 2018 and will employ 2,800 by 2020.

U.S. supplier sources have said the plant is expected to build the next-generation Ford Focus compact, as well as a Focus-based hybrid gasoline-electric model aimed at rival Toyota Motor Corp. and described as a “Prius fighter.”

The investment had been rumored for months.

Ford joins a growing list of automakers investing billions in new production capacity in Mexico, where lower labor costs and favorable currency exchange mean companies have a better chance of turning a profit on low-margin small cars.

Two weeks ago, Ford Chief Executive Mark Fields defended the automaker’s investment strategy, saying: “We are a global, multinational company. We will invest to keep us competitive and we will do what makes sense for the business.”

At the time, he did not comment directly on reports about the planned Mexico investment.

During contract talks last summer, Ford confirmed it would move Focus production out of its Wayne, Michigan, plant in 2018. The United Auto Workers said at the time that Ford planned to build the next Focus in Mexico.

Hinrichs on Tuesday reiterated that Ford is planning to build two new vehicles at the Wayne plant, beginning in 2018, but declined to provide details.