Ford Motor announced Tuesday that it would cancel plans for a $1.6 billion Mexico plant and launch a Michigan expansion in a move that may be viewed as a capitulation to Donald Trump.

Ford CEO Mark Fields said the company would spend $700 million and add 700 jobs to "transform and expand" its Flat Rock, Mich. manufacturing plant, where it will make autonomous and electric vehicles.

"Make no mistake about it — Ford is a global automaker but our home is right here in the United States," Fields said at a press conference.

The move marks a sharp reversal for Ford, which has defended its production in Mexico even as Trump has assailed the company for expanding there.

"This is a vote of confidence for President-elect Trump and some of the policies he may be pursuing," Fields said.

To be sure, Ford acknowledged in a statement that it would still move production of the next-generation Focus sedan to Mexico. But it will be built at an existing plant in Hermosillo, Mexico, not at a new facility.

The United Auto Workers hailed the decision.

"We've seen our jobs go overseas," UAW Vice President Jimmy Settles said. "It's evident today that Ford is rewarding us for our hard work."

Others will view the move as a bid to satisfy Trump, who has cited Ford's Mexico expansion as a key example of how the North American Free Trade Agreement has weakened American manufacturing.

"Automakers are facing a situation where they have to consider the political consequences" of all their decisions, AutoTrader.com analyst Michelle Krebs said.

Ford's expansion will convert 700 temporary jobs at the Michigan plant into permanent positions, adding to an existing hourly staff of about 3,600.

The plans are part of a broader $4.5 billion investment in electric vehicles and hybrids, including 13 new models over the next five years.

Those vehicles include a small, electric sport-utility vehicle with 300 miles of battery range, which will be exported overseas, and a "high-volume autonomous vehicle designed for commercial ride-hailing or ride-sharing," Ford said in a statement.

The company will also manufacture a hybrid version of the F-150 pickup truck by 2020 at the Dearborn, Mich., plant, where the F-series lineup is currently manufactured.

Follow USA TODAY reporter Nathan Bomey on Twitter @NathanBomey.