<P> Ashurbanipal was known as a tenacious martial commander; however, he was also a recognized intellectual who was literate, and a passionate collector of texts and tablets . As an apprentice scribe he mastered both the Akkadian and the Sumerian languages He sent scribes into every region of the Neo-Assyrian Empire to collect ancient texts . He hired scholars and scribes to copy texts, mainly from Babylonian sources . </P> <P> Ashurbanipal was not above using war booty as a means of stocking his library . Because he was known for being a scholar and being cruel to his enemies, Ashurbanipal was able to use threats to gain materials from Babylonia and surrounding areas . 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 ." </P> <P> The royal library consists of approximately 30,000 tablets and writing boards with the majority of them being severely fragmented . It can be gleaned from the conservation of the fragments that the number of tablets that existed in the library at the time of destruction was close to two thousand and the number of writing boards within the library can be placed at a total of three hundred . The majority of the tablet corpus (about 6,000) included colloquial compositions in the form of legislation, foreign correspondences and engagements, aristocratic declarations, and financial matters . The remaining texts contained divinations, omens, incantations and hymns to various gods, while others were concerned with medicine, astronomy, and literature . For all these texts in the library only ten contain expressive rhythmic literary works such as epics and myths . The Epic of Gilgamesh, a masterpiece of ancient Babylonian poetry, was found in the library, as was the Enûma Eliš creation story, and the myth of Adapa the first man, and stories such as the Poor Man of Nippur . </P> <P> The texts were principally written in Akkadian in the cuneiform script; however many of the tablets do not have an exact derivation and it is often difficult to ascertain their original homeland . Many of the tablets are indeed composed in the Neo-Babylonian Script, but many were also known to be written in Assyrian as well . </P>

What was found at the library in nineveh
find me the text answering this question