BILLINGS, Mont. — Government forecasters have issued warnings for dangerous fire weather across much of Montana and portions of Wyoming and Idaho, with gusting winds and temperatures approaching the triple digits in some areas.

The advisories were in effect from mid-day Wednesday until as late as midnight. Temperatures soared across the state, reaching 100 degrees in Billings. Wind gusts up to 35 mph were expected from a cold front arriving late Wednesday.

The National Weather Service says the shifting winds make wildfires more erratic and able to spread quickly. Authorities issued warnings for a broad swath of central Montana, north-central and south-central Wyoming and around Pocatello, Idaho.

Residents of those areas were asked to avoid activities that could spark wildfires until conditions improve.

TRENDING: 33 bodies from California boat fire recovered, 1 missing

RELATED: Crews put out house fire on Five Mile Road