A power glitch at an energy company in Dickinson, Texas left nearly all of the town in the dark for hours, forcing emergency crews to put up stop signs for driver safety Tuesday night.

Along with the traffic lights, about 12,000 homes and businesses lost power when the Texas-New Mexico Power Company experienced equipment failure at a substation.

Residents were vigilant, keeping an eye on properties and driving cautiously to avoid accidents.

“Several people that their alarms and surveillance systems were all off because of this and they don’t live in town, so I’m watching the places.”

The lights were out for about nine hours before the electricity was turned back on around 2 a.m.