Mexican authorities say a massive blackout has struck across the Yucatan Peninsula, home to several million people, well-traveled Mayan ruins and beach resorts such as Cancun and Tulum.

Quintana Roo state Police Chief Alberto Capella said Friday afternoon via Twitter that nearly the entire state was affected and that the outage apparently extended into the peninsula's other two states.

Two hours later he tweeted that power had been restored in most municipalities in Quintana Roo.

Quintana Roo's Public Safety Department said authorities were working to avoid traffic congestion.

Officials did not immediately say what caused the blackout.