The Electric Power Authority in Puerto Rico cut off electricity to a hospital over nearly $4 million in unpaid bills, according to an article on the ABC News website.
The utility said it waited for surgeries to end before pulling the plug.
The move was part of an effort by the heavily indebted agency to collect money amid the island's economic crisis.
The hospital initially said it could operate temporarily using generators, then announced on its Facebook page that a judge had ruled in favor of the hospital and that it expected power to be restored.