Following the conquest, the city of Ajalon was apportioned to the Tribe of Dan () and was designated as one of the Levitical cities given to the Kohathites ( and ). In spite of Joshua's initial victory in the Valley of Ajalon, the Amorites continued to live in the city of Ajalon (). Constant Philistine pressure to control the valleys of the Shephelah forced the tribe of Dan to retreat westward, reducing the extent of their territory. Eventually, the Danites abandoned their initial inheritance in the Aijalon area and moved to the extreme northern part of Israel, settling in the city of Laish, which they renamed Dan ().