This story has been updated.

Inova Mount Vernon Hospital lost power periodically over the weekend and for most of Monday due to equipment failures, hospital and power company officials said, although the hospital used generators to handle acute and emergency care.

A spokeswoman for Dominion Virginia Power said the outage was caused by the replacement of a piece of hospital power equipment that triggered a failure of power company transformers. Dominion crews worked with hospital officials from Saturday morning through Monday to fix the problems. Power was fully restored Monday at 6:45 p.m.

Elective surgeries were postponed, said Tony Raker, spokesman for Inova Helath Systems, but no acute or emergency patients were affected.