A tanker truck carrying gasoline overturned in Prince William County late Thursday, spilling fuel and forcing some residents to stay indoors as hazardous materials crews work to clean it up.

Police said the truck overturned in the town of Bristow, near Braemar Village Plaza at the intersection of Linton Hall Road and Sudley Manor Drive, about 10:30 p.m. Thursday night.

No other vehicles were involved in the crash, and the driver of the truck was not injured, police said.

Due to the flammable nature of the spill, which released gas fumes into the air, officials placed a restriction on starting vehicles overnight in the area around the spill. That restriction was lifted around 4 a.m. Friday.

Voluntary evacuations are in place and a temporary shelter has been set up at Marsteller Middle School for residents who choose to relocate or who don’t feel well as a result of the fumes.

People who live in the immediate area of the spill are advised to stay indoors. Residents of Merrimont Trace Circle and Manor Hall Court, across from the shopping center, must call police at 703-792-6500 to arrange for a pickup to the temporary shelter.

The cleanup, which involves removing the fuel before the truck can be turned upright and towed, is expected to take several hours and to impact the morning commute, police said.

Sudley Manor Drive is closed between Linton Hall Road and Dunbarton Drive. Anyone driving through the area Friday morning should expect significant delays.