He defeated the Philistines as far as Gaza and its territory, from the watchtower to the city fortress.