Yahweh had commanded through Moses to draw lots to see what cities the Levites would receive. So they drew lots, and the people of Israel gave them these cities together with the pasturelands around them.
Twelve thousand were sealed from the tribe of Simeon. Twelve thousand were sealed from the tribe of Levi. Twelve thousand were sealed from the tribe of Issachar.