The Medes 'miːdz (Old Persian: Māda-; Akkadian: mat Mādāya, mat Mātāya; Ancient Greek: Mēdoi; Latin: ) were an ancient Iranian people who spoke the Median language and who inhabited an area known as Media between western and northern Iran. Around the 11th century BC, they occupied the mountainous region of northwestern Iran and the northeastern and eastern region of Mesopotamia in the vicinity of Ecbatana (present-day Hamadan). Their consolidation in Iran is believed to have occurred during the 8th century BC. In the 7th century BC, all of western Iran and some other territories were under Median rule, but their precise geographic extent remains unknown.
Although they are generally recognized as having an important place in the history of the ancient Near East, the Medes have left no written source to reconstruct their history, which is known only from foreign sources such as the Assyrians, Babylonians, Armenians and Greeks, as well as a few Iranian archaeological sites, which are believed to have been occupied by Medes. The accounts relating to the Medes reported by Herodotus have left the image of a powerful people, who would have formed an empire at the beginning of the 7th century BC that lasted until the 550s BC, played a determining role in the fall of the Assyrian Empire and competed with the powerful kingdoms of Lydia and Babylonia. However, a recent reassessment of contemporary sources from the Mede period has altered scholars' perceptions of the Median state. The state remains difficult to perceive in the documentation, which leaves many doubts about it, some specialists even suggesting that there never was a powerful Median kingdom. In any case, it appears that after the fall of the last Median king against Cyrus the Great of the Persian Empire, Media became an important province and was prized by the empires which successively dominated it (Achaemenids, Seleucids, Parthians and Sasanids).
According to the Histories of Herodotus, there were six Median tribes:
Thus Deioces collected the Medes into a nation, and ruled over them alone.