<prompt> Translate the following text to SwahiliTo counter this, the populations moved from their homes on the coast and built settlements inland, out of sight of the raiding parties.  <response>: Ili kukabiliana na hali hiyo, watu walihama kutoka nyumba zao zilizokuwa kwenye pwani na kujenga makazi ndani ya nchi, mbali na macho ya majeshi yaliyokuwa yakivamia. 