As the territory of the Danites was too small for them, they marched out and attacked Leshem, captured it, sacked it, took possession of it, and lived there, renaming it Dan after their ancestor Dan.