Some time later King David attacked the Philistines again, defeated them, and ended their control over the land.