A manufacturer of sapphire glass that Apple Inc. uses in iPhones told a bankruptcy court Friday that it wants to shut down a Mesa factory that was once touted as a big job creator for Arizona.

GT Advanced Technologies filed for Chapter 11 bankruptcy protection this week. In a bankruptcy court filing Friday, the company outlined its plans to wind down operations at the Mesa factory by the end of the year along with a second facility in Salem, Massachusetts — a move that would leave hundreds of people out of work.

“This drastic step is necessitated by GTAT’s liquidity crisis and the ongoing cash burn from its operations at these locations,” the company said in a court filing.

The request to wind down operations at the locations is contingent on the court’s approval. GT Advanced Technologies’ stock was down about 35 percent Friday, trading at 84 cents. The stock’s 52-week high is $20.54.

The bankruptcy and ensuing effort to shut down the factory mark surprising turn after state, local and business leaders previously bragged that the plant would be a major boost to the Arizona economy.

Gov. Jan Brewer had hailed Apple’s decision to open the plant in Mesa, calling it a sign that the Arizona’s efforts to provide a pro-business climate were paying off. The state has cut business taxes and created several incentives designed to lure new manufacturing businesses in the past several years.

At full production the companies expected 700 workers to run the plant.

Now, GT wants to begin winding down operations. In a statement, GT said it realizes the difficulties caused by a plant closing but needs to make the right financial decisions following the bankruptcy action.

“While we continue to explore all options with regards to our Mesa and Salem facilities, we recognize and regret the impact that the actions outlined in our bankruptcy court filings of this morning may have on valued GT employees,” the company said.