The deadly earthquake that shook northeastern Morocco Tuesday has killed at least 560 people.

Moroccan Red Crescent officials said finding survivors is the most urgent priority, as rescue workers continue to search for people who may trapped amid the ruins of several remote villages near the port city of Al Hoceima.

At least six villages were destroyed when the 6.5 magnitude tremor struck in the middle of the night Tuesday, crumbling many mud brick houses and crushing the residents inside.

Local hospitals reported being overwhelmed with the dead and injured. Some of the wounded were being treated in army barracks and charity centers. Others were airlifted to regional hospitals.

Rescue teams are struggling to reach all the affected areas, because many of the devastated villages are in mountainous sections of northeastern Morocco.