They named it Dan, after their ancestor Dan, who was born to Israel — though the city used to be called Laish.
In context
27Taking what Micah had made, along with his priest, the Danites came against Laish, against a people quiet and unsuspecting. They struck them down with the sword and burned down their city. 28There was no one to rescue them, because the city was far from Sidon and they had no dealings with anyone. It was in the valley near Beth-rehob. The Danites rebuilt the city and settled in it. 29They named it Dan, after their ancestor Dan, who was born to Israel — though the city used to be called Laish. 30There the Danites set up the carved image for themselves, and Jonathan son of Gershom, son of Manasseh, and his sons were priests for the tribe of Dan until the day the land went into exile. 31They kept Micah’s carved image set up for themselves the whole time the house of God was in Shiloh.