47 The border of Dan extended beyond them. Dan’s descendants went up and attacked Leshem, captured it, and killed everyone there. They took it, settled there, and renamed the city Dan after their ancestor Dan.
48 These cities with their villages are the inheritance for the families of the tribe of Dan.
49 When they all had finally received the land they were to inherit, the people of Israel also gave land within their territory as an inheritance to Joshua, son of Nun.
50 They gave him the city he asked for, as the Lord had instructed them to do. It was Timnath Serah in the mountains of Ephraim. He rebuilt the city and lived there.
51 This is the land that the tribes of Israel drew by lot. The priest Eleazar, Joshua son of Nun, and the leaders of the families divided the land by drawing lots. They did this in Shiloh in the presence of the Lord at the entrance of the tent of meeting. So they finished dividing the land.