Some AT&T cellphone users in at least 14 states and Washington, D.C., were unable to call 911 for a few hours on Wednesday night, officials said.

City, county, law enforcement and emergency response officials took to social media over the course of almost five hours to warn people across the country of the disruption. AT&T said at 10:30 p.m. that the problem had had been fixed.

“Service has been restored for wireless customers affected by an issue connecting to 911,” AT&T said in a statement around 10:30 p.m. “We apologize to those affected.”

The telecommunications giant did not say when and how the problem began, or how many customers were affected. The warnings began no later than 5:49 p.m., when the Monongalia County Homeland Security Emergency Management Agency in West Virginia reported the problem on Facebook. Officials continued issuing warnings until at least 10:25 p.m.