Taharqa (688–663 BC), the last Kushite pharaoh, was defeated and driven out of the Near East by Sennacherib of Assyria. Sennacherib's successor Esarhaddon went further, launching a full-scale invasion of Egypt in 674 BC, defeating Taharqa and quickly conquering the land. Taharqa fled back to Nubia, and native Egyptian princes were installed by the Assyrians as vassals of Esarhaddon. However, Taharqa was able to return some years later and wrest back control of a part of Egypt as far as Thebes from the Egyptian vassal princes of Assyria. Esarhaddon died in his capital Nineveh while preparing to return to Egypt and once more eject the Kushites.