 A Babylonian chronicle mentions the Hatti in connection with an invasion of Babylon at the close of the ancient dynasty of Hammurabi supposedly in the 17th or 16th centuries.The Median Empire, was the first Iranian dynasty corresponding to the northeastern section of present-day Iran, Northern-Khvarvarana and Asuristan, and South and Eastern Anatolia.The inhabitants, who were known as Medes, and their neighbors, the Persians, spoke Median languages that were closely related to Aryan (Old Persian).