Judges 18:1 Midrash

בַּיָּמִ֣ים הָהֵ֔ם אֵ֥ין מֶ֖לֶךְ בְּיִשְׂרָאֵ֑ל וּבַיָּמִ֣ים הָהֵ֗ם שֵׁ֣בֶט הַדָּנִ֞י מְבַקֶּשׁ־ל֤וֹ נַֽחֲלָה֙ לָשֶׁ֔בֶת כִּי֩ לֹֽא־נָ֨פְלָה לּ֜וֹ עַד־הַיּ֥וֹם הַה֛וּא בְּתוֹךְ־שִׁבְטֵ֥י יִשְׂרָאֵ֖ל בְּנַחֲלָֽה׃ (ס)

In those days there was no king in Israel; and in those days the tribe of the Danites sought them an inheritance to dwell in; for unto that day there had nothing been allotted unto them among the tribes of Israel for an inheritance.

Read midrashic interpretation of Judges 18:1: and classical rabbinic exegesis.