All these lands were given to the different tribes of Israel. Eleazar the priest, Joshua son of Nun, and the leaders of each tribe met together at Shiloh to divide the land. They met before the Lord at the entrance of the Meeting Tent. So they finished dividing the land.
The Lord had commanded Moses long ago how he wanted the people to choose their land. The people of the nine and a half tribes threw lots to decide which land they would get.