47 But the territory of the people of Dan was lost to them. So the people of Dan went up and attacked Leshem and captured it. They struck it down without mercy. They took it over and settled it. Then they named Leshem as Dan, after the name of Dan their ancestor.
48 These cities and their surrounding areas are the legacy for the clans of the Danite tribe.
49 So when they finished assigning the borders of the land, the Israelites gave to Joshua, Nun’s son, a legacy among them.
50 By the Lord’s command, they gave him the city that he asked for. This was Timnath-serah in the highlands of Ephraim. He built a city and lived in it.
51 These are the legacies that Eleazar the priest, Joshua, Nun’s son, and the heads of the families of the Israelite tribes assigned by lot at Shiloh. They did this before the Lord at the entrance of the meeting tent and finished dividing up the land.