The Assyrian Empire was severely crippled following the death of Ashurbanipal in 627 BC, the nation and its empire descending into a prolonged and brutal series of civil wars involving three rival kings, Ashur-etil-ilani, Sin-shumu-lishir and Sin-shar-ishkun. Egypt's 26th Dynasty, which had been installed by the Assyrians as vassals, quietly detached itself from Assyria, although it was careful to retain friendly relations.