Fighting the two biggest wildfires so far this year in Arizona was giving way to early rehabilitation work as the fires ceased spreading, federal officials reported Wednesday.

Burned Area Emergency Response teams, known as BAER, were on the scenes of the Sunflower and Gladiator fires in Arizona's forested mountains.

The Sunflower Fire burned 17,618 acres in the Tonto National Forest, mostly in wilderness areas 20 miles south of Payson. It was still burning Wednesday but was reported 80 percent contained.

The Gladiator Fire burned 1,240 acres on state forest land and in the Prescott National Forest, threatening the historic town of Crown King about 40 miles north of Phoenix. The town's residents were back in their homes after having been evacuated for more than a week.

Little other fire activity was reported in the state, but officials warned that high to extreme fire conditions remained around most of Arizona's wildlands. Fire restrictions remained in effect in several national forests and on all state forestand recreation land and in highway corridors.