Babylon welcomed the deity who was thus restored to his temple after the lapse of about a quarter of a century, and the priests celebrated with unconcealed satisfaction and pride the ceremony at which Shamash-shum-ukin "took the hands of Bel". The public rejoicings were conducted on an elaborate scale. Babylon believed that a new era of prosperity had been inaugurated, and the priests and nobles looked forward to the day when the kingdom would once again become free and independent and powerful.

Ashur-bani-pal (668-626 B.C.) made arrangements to complete his father's designs regarding Egypt. His Tartan continued the campaign, and Taharka, as has been stated, was driven from Memphis. The beaten Pharaoh returned to Ethiopia and did not again attempt to expel the Assyrians. He died in 666 B.C. It was found that some of the petty kings of Lower Egypt had been intriguing with Taharka, and their cities were severely dealt with. Necho of Sais had to be arrested, among others, but was pardoned after he appeared before Ashur-bani-pal, and sent back to Egypt as the Assyrian governor.

Tanutamon, a son of Pharaoh Shabaka, succeeded Taharka, and in 663 B.C. marched northward from Thebes with a strong army. He captured Memphis. It is believed Necho was slain, and Herodotus relates that his son Psamtik took refuge in Syria. In 661 B.C. Ashur-bani-pal's army swept through Lower Egypt and expelled the Ethiopians. Tanutamon fled southward, but on this occasion the Assyrians followed up their success, and besieged and captured Thebes, which they sacked. Its nobles were slain or taken captive. According to the prophet Nahum, who refers to Thebes as No (Nu-Amon = city of Amon), "her young children also were dashed in pieces at the top of all the streets: and they (the Assyrians) cast lots for her honourable men, and all her great men were bound in chains".[[548]] Thebes never again recovered its prestige. Its treasures were transported to Nineveh. The Ethiopian supremacy in Egypt was finally extinguished, and Psamtik, son of Necho, who was appointed the Pharaoh, began to reign as the vassal of Assyria.

When the kings on the seacoasts of Palestine and Asia Minor found that they could no longer look to Egypt for help, they resigned themselves to the inevitable, and ceased to intrigue against Assyria. Gifts were sent to Ashur-bani-pal by the kings of Arvad, Tyre, Tarsus, and Tabal. The Arvad ruler, however, was displaced, and his son set on his throne. But the most extraordinary development was the visit to Nineveh of emissaries from Gyges, king of Lydia, who figures in the legends of Greece. This monarch had been harassed by the Cimmerians after they accomplished the fall of Midas of Phrygia in 676 B.C., and he sought the help of Ashur-bani-pal. It is not known whether the Assyrians operated against the Cimmerians in Tabal, but, as Gyges did not send tribute, it would appear that he held his own with the aid of mercenaries from the State of Caria in southwestern Asia Minor. The Greeks of Cilicia, and the Achaeans and Phoenicians of Cyprus remained faithful to Assyria.

Elam gave trouble in 665 B.C. by raiding Akkad, but the Assyrian army repulsed the invaders at Dur-ilu and pushed on to Susa. The Elamites received a crushing defeat in a battle on the banks of the River Ula. King Teumman was slain, and a son of the King of Urtagu was placed on his throne. Elam thus came under Assyrian sway.

The most surprising and sensational conspiracy against Ashur-bani-pal was fomented by his brother Shamash-shum-ukin of Babylon, after the two had co-operated peacefully for fifteen years. No doubt the priestly party at E-sagila were deeply concerned in the movement, and the king may have been strongly influenced by the fact that Babylonia was at the time suffering from severe depression caused by a series of poor harvests. Merodach, according to the priests, was angry; it was probably argued that he was punishing the people because they had not thrown off the yoke of Assyria.

The temple treasures of Babylon were freely drawn upon to purchase the allegiance of allies. Ere Ashur-bani-pal had any knowledge of the conspiracy his brother had won over several governors in Babylonia, the Chaldaeans, Aramaeans and Elamites, and many petty kings in Palestine and Syria: even Egypt and Libya were prepared to help him. When, however, the faithful governor of Ur was approached, he communicated with his superior at Erech, who promptly informed Ashur-bani-pal of the great conspiracy. The intelligence reached Nineveh like a bolt from the blue. The emperor's heart was filled with sorrow and anguish. In after-time he lamented in an inscription that his "faithless brother" forgot the favours he had shown him. "Outwardly with his lips he spoke friendly things, while inwardly his heart plotted murder."

In 652 B.C. Shamash-shum-ukin precipitated the crisis by forbidding Ashur-bani-pal to make offerings to the gods in the cities of Babylonia. He thus declared his independence.

War broke out simultaneously. Ur and Erech were besieged and captured by the Chaldaeans, and an Elamite army marched to the aid of the King of Babylon, but it was withdrawn before long on account of the unsettled political conditions at home. The Assyrian armies swept through Babylonia, and the Chaldeans in the south were completely subjugated before Babylon was captured. That great commercial metropolis was closely besieged for three years, and was starved into submission. When the Assyrians were entering the city gates a sensational happening occurred. Shamash-shum-ukin, the rebel king, shut himself up in his palace and set fire to it, and perished there amidst the flames with his wife and children, his slaves and all his treasures. Ashur-bani-pal was in 647 B.C. proclaimed King Kandalanu[[549]] of Babylon, and reigned over it until his death in 626 B.C.

Elam was severely dealt with. That unhappy country was terribly devastated by Assyrian troops, who besieged and captured Susa, which was pillaged and wrecked. It was recorded afterwards as a great triumph of this campaign that the statue of Nana of Erech, which had been carried off by Elamites 1635 years previously, was recovered and restored to the ancient Sumerian city. Elam's power of resistance was finally extinguished, and the country fell a ready prey to the Medes and Persians, who soon entered into possession of it. Thus, by destroying a buffer State, Ashur-bani-pal strengthened the hands of the people who were destined twenty years after his death to destroy the Empire of Assyria.