After fleeing from Saul to Philistia with Achish the son of Maoch, king of Gath, David made Ziklag his base of operations for military exploits against the Geshurites, Girzites, and Amalekites. He reported his raids back to Achish as against the Negeb of Judah, Jerahmeelites, and Kenites and gained Achish's trust. (1 Samuel 27)