Waterville and Winslow manufacturing company Midstate Berkshire has laid off 70 employees, the company announced Thursday.

The Massachusetts-based precision parts manufacturer said in a news release that the layoffs were a reaction to a downturn in the company’s three major markets – oil and gas, power generation and defense.

The move came as a surprise to the Mid Maine Chamber of Commerce, which had been working with the company to help develop its labor force, chamber president and CEO Kim Lindlof said Thursday.

The company, which employed 250 workers in the two communities, intends to consolidate its Waterville operation into the Winslow plant at 83 Verti Drive by the end of the year, the release said.

The layoffs represent about 30 percent of the company’s workforce.

“The market conditions are severe – we’ve seen a 30 percent decrease in our key markets over the past year,” CEO Duane Pekar said in the release.

“We never want to make these workforce reductions,” Pekar said. ”

However, in this case, to remain competitive, we have to align ourselves with the current volume. We are making every effort to assist employees with their transition.”

Pekar said he was confident that with the reductions and other cost-cutting measures, the company will be positioned for growth when market conditions improve.

Pekar said his hope is to rehire a portion of the workers laid off, but he didn’t elaborate on how that would happen or if it would affect the consolidation in Winslow.

Lindlof said the chamber had been working with the company to help develop its labor force with programs such as apprenticeship and pre-apprenticeship programs.

“We had no idea this was coming. We’ve been working with them on workforce development issues,” she said.

The company, headquartered in Westfield, Massachusetts, focuses on contract machining, fabrications and assembly services for the aerospace, defense, power generation and oil and gas industries.

In January 2014, the company was acquired by a Texas-based private equity firm, Insight Equity Holdings LLC.

Waterville City Council Chairman Fred Stubbert said late Thursday he was surprised to learn about the layoffs.

He said they are hopefully a short-term move, because the economy as a whole has been improving.

“The Waterville area is starting to pick up,” he said. “We’re going in the right direction.”

“One of the things we’re trying to do is actually attract more businesses like that to the area,” Stubbert said.

He said that the area has workers skilled in metal work and manufacturing.

Lindlof said there are other companies in the area that need the skills that Midstate employees have, and her organization could help connect those who were laid off with other employers.

“It’s obviously a setback, but we’re hopeful that if we’re invited to the table with those companies, we’ll be able to connect them with those displaced employees,” Lindlof said.

Morning Sentinel Staff Writer Peter McGuire contributed to this report.