Officials say firefighters are winning the battle to contain a sprawling wildfire raging on a 240-kilometer (150-mile) perimeter that has razed 38 homes and left two people in hospitals in southern Australia.

Hundreds of firefighters have struggled since Friday last week to control the blaze that has razed 12,500 hectares (31,000 acres) of farms and woodland in hills northwest of the South Australia state capital Adelaide.

Country Fire Service chief officer Greg Nettleton told reporters Tuesday that fire crews had "made some significant progress on securing the outer perimeter" and would continue to work through the night to bring the blaze under control.

State Premier Jay Weatherill said assessment teams had found that 163 buildings including 38 homes had been destroyed or badly damaged by the blaze.