florida gas station A man leaves a Murrphy Oil gas station as pumps are seen out of gas, Tuesday, May 11, 2021, in Kennesaw, Ga. Colonial Pipeline, which delivers about 45% of the fuel consumed on the East Coast, halted operations last week after revealing a cyberattack that it said had affected some of its systems.(AP Photo/Mike Stewart)

TALLAHASSEE, Fla. (AP) — Florida Gov. Ron DeSantis declared a state of emergency Tuesday evening in response to gasoline shortages caused by the shutdown of a major pipeline by hackers.

The executive order signed by DeSantis activates the Florida National Guard, as needed, and directs state emergency management officials to work with federal and local officials.

The Colonial Pipeline, the biggest fuel pipeline in the U.S., delivering about 45% of what is consumed on the East Coast, was hit on Friday with a cyberattack by hackers who lock up computer systems and demand a ransom to release them. A large part of the pipeline resumed operations manually late Monday, and Colonial anticipates restarting most of its operations by the end of the week, U.S. Energy Secretary Jennifer Granholm said.

More than 1,000 gas stations in the Southeast reported running out of fuel, primarily because of what analysts say is unwarranted panic-buying among drivers.