The Ark in Ashdod and Ekron

1 After the Philistines had captured the ark of God, they took it from Ebenezer to Ashdod.
References for 1 Samuel 5:1
2 Then they carried the ark into Dagon’s temple and set it beside Dagon.
References for 1 Samuel 5:2