The strong shaking sent people fleeing into open areas in and around Palu, a city of about 400,000 people and the capital of Central Sulawesi province.