CASTRO VALLEY -- High winds were to blame for a power outage that affected a hospital and more than 3,000 other customers in Alameda County early Thursday, a Pacific Gas & Electric spokeswoman said.

The outage, reported at 12:43 a.m., came after winds knocked down lines and cut off power to Eden Medical Center and 3,043 other Castro Valley customers, said Tamar Sarkissian, a spokeswoman for the utility company.

Service at Eden was not disrupted as the hospital used a generator until power was restored at 1:39 a.m., Sarkissian said.

Power was restored to all customers by 9:07 a.m. Sarkissian said.

Contact Natalie Neysa Alund at 510-293-2469. Follow her at Twitter.com/nataliealund.