Editor's note: Some earlier versions of this story misidentified the Toyota vehicle slated for the new U.S. plant. It will build the Corolla.
DALLAS -- Toyota plans to build a $1.6 billion U.S. plant in a joint venture with smaller Japanese rival Mazda to assemble Toyota compact cars and Mazda crossovers.
The factory, at a not-yet selected site, will have annual capacity of 300,000 units and create some 4,000 jobs, Toyota said Friday.
The joint venture is part of a wider agreement that calls for Toyota and Mazda to acquire stakes in one another. The companies announced the agreement earlier Friday.
Toyota will assemble the Corolla at the U.S. plant and Mazda said it will use the factory to produce crossovers that it "will newly introduce to the North American market."
The plant, slated to begin production in 2021, placed the two automakers in the good graces of President Donald Trump, who has criticized Toyota for building a car factory in Mexico rather than adding another U.S. plant.
Trump praised the investment in an early morning tweet from his personal Twitter account. “Toyota & Mazda to build a new $1.6B plant here in the U.S.A. and create 4K new American jobs. A great investment in American manufacturing!"
Though the announcement comes as the U.S. light-vehicle market has peaked and the outlook for car sales remains weak, the plant is sure to set off a bidding war among states eager for the investment.
President Trump has threatened automakers with tariffs on new vehicles crossing the border from Mexico, although that would require an exit from the North American Free Trade Agreement, which is being renegotiated by the U.S., Mexico and Canada.
Mazda builds cars in Mexico for the U.S. market but has not maintained a U.S. production source since severing ties with Ford Motor Co. and a former joint venture plant in Flat Rock, Mich., in 2012.
Jim Lentz, CEO of Toyota Motor North America, said the joint venture gives the company additional capacity without having to build a new factory entirely on its own. The increased capacity does not come at the expense of other North American plants, he said.
"It's kind of a win-win for both of us," Lentz told Automotive News. "They [Mazda] get production in the U.S. and I get another 150,000 vehicles and I get them for a relative bargain in the marketplace," he said in reference to the $800 million that Toyota will invest in the 50-50 joint venture.
Lentz said he was not in a position to discuss the timing of the project in relation to pressure from President Trump on manufacturers to create U.S. jobs. The negotiations between Toyota and Mazda, launched in May 2015 when the two companies agreed to explore ways to collaborate, were carried out in Japan, where both are based.
"If you look at what the administration wants to see -- and wants to see out of the industry -- I think we share the same goal," Lentz said in an interview. "It's in our best interest to build the cars where we sell them. It helps us grow the U.S. economy, which in turn allows us to sell more vehicles in the marketplace," he said.