SANTA CLARITA, Calif. (AP) One of two wildfires burning in the hills and mountains around Interstate 5 north of Los Angeles was fully contained Saturday and authorities were getting an upper hand on the second one.

The 712-acre fire was contained late Saturday after breaking out Friday and briefly threatening an elementary school and about 20 homes, the Los Angeles County Fire Department said.

When a wildfire is contained, it means firefighters have corralled it to keep it from advancing, but flames can continue to burn inside the fire line. Some 350 firefighters battled the blaze Saturday amid unpredictable winds and rough terrain.

The earlier fire that broke out Wednesday near Frazier Park was 80 percent contained Saturday after consuming some 4,358 acres.

That blaze was not threatening any homes or buildings but fire officials said containing it would be a long, difficult task because it was burning in such rugged and hard-to-reach terrain.

The cause was still under investigation.