General Motors said Monday it will invest $71 million into two manufacturing plants in Ohio.

The investments, which GM said would help it retain 240 jobs, include $39 million at the company’s Toledo transmission plant and $32 million at its Defiance casting plant, according to an announcement from the company. 

“The Toledo investment will be used to upgrade and enhance the production of GM’s eight-speed rear-wheel-drive transmission and the Defiance investment will be used to prepare the facility for future engine casting components work,” the company said.

The news comes on the same day the state tax agency in Ohio ordered GM to repay $28 million in tax incentives connected to its former Lordstown Assembly Plant, according to The Columbus Dispatch.

GM, which made its Cruze sedan at the plant until last year, sold the Lordstown plant to a company that plans to produce its electric Endurance pickup there. The Dispatch said GM agreed as part of the Lordstown tax deal to invest $12 million in the area related to education and other programs. The Dispatch also reported that an unspecified amount of incentives were approved for a joint venture called Ultium Cells with South Korea’s LG Chem to build a new battery cell plant in Lordstown. That $2.3 billion investment is supposed to generate more than 1,100 jobs.

More: Pence touts Lordstown comeback at Endurance electric pickup reveal

More: GM sues its former board member and UAW VP, Joe Ashton, connected to corruption probe

GM spokesman Dan Flores said the Toledo and Defiance investment news is independent of anything that would have been announced as part of last year’s labor agreement with the UAW.

GM employs about 1,700 workers at Toledo Transmission Operations, which opened in 1916. They produce six-, eight- and 10-speed rear-wheel and nine-speed front-wheel-drive transmissions