At this point, the aged Nabopolassar passed command of the army to his son Nebuchadnezzar II, who led them to a decisive victory over the Egyptians at Carchemish in 605 BC, and pursued the fleeing survivors to Hamath. Necho's dream of restoring the Egyptian Empire in the Middle East as had occurred under the New Kingdom was destroyed as Nebuchadnezzar conquered Egyptian territory from the Euphrates to the Brook of Egypt (Jeremiah 46:2; 2 Kings 23:29) down to Judea. Although Nebuchadnezzar spent many years in his new conquests on continuous pacification campaigns, Necho was unable to recover any significant part of his lost territories. For example, when Ashkalon rose in revolt, despite repeated pleas the Egyptians sent no help, and were barely able to repel a Babylonian attack on their eastern border in 601 BC. When he did repel the Babylonian attack, Necho managed to capture Gaza while pursuing the enemy. Necho turned his attention in his remaining years to forging relationships with new allies: the Carians, and further to the west, the Greeks.