Houston-based NRG Energy nrg has won the auction for bankrupt renewable power plant developer SunEdison’s wind and solar projects in Texas and other states with a $144 million bid, according to a court filing.

Get Data Sheet, Fortune’s technology newsletter.

The sale is one of several that SunEdison, once the fastest-growing U.S. renewable energy company, is holding since filing for Chapter 11 bankruptcy protection in April after an unsuccessful debt-backed acquisition drive.

Judge Stuart Bernstein in Manhattan will hold a hearing to approve the NRG bid on Thursday, a court filing by SunEdison showed last week.