DETROIT (Reuters) - The United Auto Workers (UAW) union said on Wednesday that rank-and-file members at Fiat Chrysler Automobiles NV have voted in favor of a new four-year labor contract with the automaker, helping the Italian-American firm avoid a strike as it works to merge with France’s Groupe PSA.

FILE PHOTO: A Fiat Chrysler Automobiles (FCA) sign is seen at the U.S. headquarters in Auburn Hills, Michigan, U.S., May 25, 2018. REUTERS/Rebecca Cook/File Photo

Fiat Chrysler (FCA) and PSA, the maker of Peugeot and Citroen, in October announced a planned $50 billion merger to create the world’s fourth-largest automaker.

FCA’s 47,200 rank-and-file UAW members voted 71% in favor of the new contract. The deal follows contracts the UAW already concluded with larger rivals General Motors Co and Ford Motor Co.

“Every full-time production employee currently at FCA will be at top rate by the end of this four-year agreement,” Cindy Estrada, UAW vice president and director of the union’s FCA department, said in a statement. She added that all temporary workers also have a path to full employment.

“We are pleased to have reached a new agreement that allows us to continue our record of adding good-paying UAW-represented jobs,” FCA North America Chief Operating Officer Mark Stewart said in a statement.

Ratification of the contract had not been viewed as a sure thing, as union members at FCA in 2015 rejected the first version of a contract. In addition, a federal corruption probe related to embezzlement at the union drew attention.

The federal corruption probe led GM to file a racketeering lawsuit against FCA, alleging its rival bribed union officials over many years to corrupt the bargaining process and gain advantages, costing GM billions of dollars.

FCA has brushed off the lawsuit as groundless.

The contract with GM that was ratified by workers in October followed a 40-day strike in the United States that virtually shuttered GM’s North American operations and cost the automaker $3 billion.

The UAW has said the contract with FCA included a commitment by the automaker to invest $9 billion, creating 7,900 new jobs over the course of the contract. Of the $9 billion, $4.5 billion was announced earlier this year, to be invested in five plants and creating 6,500 jobs.

The investments include $2.8 billion at Warren Truck Assembly plant in Michigan to build a new a plug-in hybrid SUV in 2021 and a potential increase of 1,500 jobs.

FCA will also invest $160 million at its Toledo, Ohio, plant to build a new plug-in hybrid Jeep Wrangler next year, and $3 billion at its Jefferson Assembly plant in Detroit to a build a plug-in hybrid Jeep Grand Cherokee in 2021 among other new vehicles.