DETROIT (AP) — The United Auto Workers and General Motors have reached a tentative contract agreement that could end a monthlong strike that brought the automaker’s U.S. factories to a standstill.

The deal was hammered out Wednesday but it won’t immediately end the strike by more than 49,000 workers. They’re likely to stay on the picket lines at least a few more days until union committees vote on the deal. The entire membership also must vote.

READ MORE: 14 People Die From COVID-19 At Butler Memorial Hospital Since Friday

Details of the four-year agreement have yet to be released.

READ MORE: How To Keep Porch Pirates From Stealing Your Holiday Packages

Workers left their jobs early Sept. 16. They wanted a bigger share of GM’s profits, job security and a path to permanent jobs for temporary workers.

The company wanted to reduce labor costs so they’re closer to U.S. factories run by foreign automakers.

MORE NEWS: Ligonier Valley Teacher Under Investigation For Possibly Sending Lewd Videos To Minor

(Copyright 2019 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.)