Ford Motor Company, criticized by Republican presidential front-runner Donald Trump for manufacturing outside the United States, announced on 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. Senator Ted Cruz of Texas and Ohio Governor John Kasich competed in a primary in Wisconsin seen as crucial in the race to become the Republican presidential candidate in the November election.
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.
“Due to the (election) debate, they (Ford) don’t want to be in the spotlight,” the official said, speaking on condition of anonymity.
Get Data Sheet, Fortune’s technology newsletter.
Joe Hinrichs, Ford executive vice president and head of the Americas, said on Tuesday that the automaker is investing more money in Mexico “to improve our small-car profitability.”
In Detroit, United Auto Workers President Dennis Williams described the new Ford investment in Mexico as “a disappointment and very troubling.”
A spokeswoman for Trump said he did not have an immediate comment on the announcement.
Hinrichs declined to say what products Ford plans to build at the San Luis Potosi 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.
Sean McAlinden, chief economist with the Center for Automotive Research, said that Ford’s Mexico workers make about $8.25 per hour in wages and benefits, compared with Ford’s U.S. workers, who get $60 per hour in wages and benefits.
Two weeks ago, Ford Chief Executive Mark Fields defended the automaker’s global investment strategy, saying: “We will invest to keep us competitive and we will do what makes sense for the business.”
For more about Ford Motors, watch:
At the time, he did not comment directly on reports about the planned Mexico investment.
During contract talks last summer, Ford confirmed that it would move Focus production out of its Wayne, Michigan plant in 2018. The UAW 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.
Hinrichs also noted that Ford built more vehicles in the United States last year than larger rival General Motors Co and employs more U.S. hourly workers. He said Ford builds fewer vehicles in Mexico than GM or Fiat Chrysler Automobiles.