Ashurbanipal's intense interest in collecting divination texts was one of his driving motivations in collecting works for his library. His original motive may have been to "gain possession of rituals and incantations that were vital to maintain his royal power."