A federal bankruptcy judge has approved the sale of four suburban Milwaukee YMCA properties for $9 million.

The YMCA of Metropolitan Milwaukee filed for bankruptcy in June after its debt rose to $29 million. The sale will allow the Milwaukee Y to restructure into a more urban organization.

The YMCA of Central Waukesha County will buy the Y in Greenfield, another in Menomonee Falls and the West Suburban Y in Wauwatosa for $7 million