<prompt> Translate the following text to SwahiliHe tried to halt the Dayaks piracy and head-hunting while defending their more morally acceptable customs.  <response>: Alijaribu kukomesha uharamia wa Dayaks na uwindaji wa vichwa huku akitetea desturi zao zinazokubalika zaidi kiadili. 