Assyria was the region of the ancient Near East that grew into one of the most effective military powers in history, dominating the Middle East under the Neo-Assyrian Empire from 912 to 612 BCE. It began modestly at the city of Ashur in northern Mesopotamia, whose merchants grew wealthy trading in Anatolia; the city took its name from the god Ashur, and the land from the city. Subjugated by Hammurabi of Babylon around 1792 BCE, Assyria reasserted itself after his empire fell apart, and by the 13th century BCE Tukulti-Ninurta I could defeat the Hittites at the Battle of Nihriya and sack Babylon itself. In the 11th century BCE Tiglath Pileser I revitalized the kingdom, and his care for preserving cuneiform tablets became the model for Ashurbanipal's famous library.
The Assyrian army became the most effective military force in history up to that time and a model for future armies in organization, tactics, and training; the Assyrians were the first to make extensive use of iron weaponry, which could be mass-produced to equip very large armies. Tiglath Pileser III (745-727 BCE) reorganized the military, replacing conscription with a manpower levy imposed on each province and demanding contingents from vassal states, reconquered the Mediterranean seaboard, and subjugated Babylon. Sargon II founded the final Sargonid dynasty, Sennacherib moved the capital to Nineveh and built 'the Palace without a Rival', and Esarhaddon conquered Egypt.
The last great king, Ashurbanipal (668-627 BCE), assembled at Nineveh the largest collection of cuneiform tablets in the world at that time, preserving the written works of Mesopotamia, among them the Epic of Gilgamesh. Conquered peoples were relocated in mass deportations, scribes and scholars chosen carefully and sent to urban centres to serve the bureaucracy. The empire's reputation was fearsome: one historian wrote that Assyria must surely have among the worst press notices of any state in history.
That resentment caught up with them. When Ashurbanipal died in 627 BCE, revolts broke out across the empire, and over the next fifteen years Medes, Babylonians, Persians, Cimmerians, Scythians, and Chaldeans sacked the Assyrian cities. In 612 BCE Nineveh, Ashur, and Kalhu were destroyed, and the empire dissolved. Ashurbanipal's library was buried beneath the burning walls of his palace, but the fire only hardened its clay tablets, preserving them until the excavations of Layard and Rassam and the translations of George Smith brought them to light in the 19th century.