Joshua 19:47

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.