"port city") and Aphek were located on the northern frontier of Philistine territory, and Tell Qasile in particular may have been inhabited by both Philistine and non-Philistine people. The location of Gath is not entirely certain, although the site of Tell es-Safi, not far from Ekron, is currently the most favoured. The identity of the city of Ziklag, which according to the Bible marked the border between the Philistine and Israelite territory, remains uncertain. In the western part of the Jezreel Valley, 23 of the 26 Iron Age I sites (12th to 10th centuries BCE) yielded typical Philistine pottery. These sites include Tel Megiddo, Tel Yokneam, Tel Qiri, Afula, Tel Qashish, Be'er Tiveon, Hurvat Hazin, Tel Risim, Tel Re'ala, Hurvat Tzror, Tel Sham, Midrakh Oz and Tel Zariq. Scholars have attributed the presence of Philistine pottery in northern Israel to their role as mercenaries for the Egyptians during the Egyptian military administration of the land in the 12th century BCE. This presence may also indicate further expansion of the Philistines to the valley during the 11th century BCE, or their trade with the Israelites. There are biblical references to Philistines in the valley during the times of the Judges. The quantity of Philistine pottery within these sites is still quite small, showing that even if the Philistines did settle the valley, they were a minority that blended within the Canaanite population during the 12th century BCE. The Philistines seem to have been present in the southern valley during the 11th century, which may relate to the biblical account of their victory at the Battle of Gilboa. Egyptian inscriptions Since Edward Hincks and William Osburn Jr. in 1846, biblical scholars have connected the biblical Philistines with the Egyptian "Peleset" inscriptions; and since 1873, both have been connected with the Aegean "Pelasgians". The evidence for these connections is etymological and has been disputed. Based on the Peleset inscriptions, it has been suggested that the Casluhite Philistines formed part of the conjectured "Sea Peoples" who repeatedly attacked Egypt during the later Nineteenth Dynasty. Though they were eventually repulsed by Ramesses III, he finally resettled them, according to the theory, to rebuild the coastal towns in Canaan. Papyrus Harris I details the achievements of the reign (1186–1155 BC) of Ramesses III. In the brief description of the outcome of the battles in Year 8 is the description of the fate of some of the