The Medes were an ancient Iranian people who lived in the northwestern portions of present-day Iran . The Medes ( from Old Persian MÄ da - ) were an ancient Iranian people who lived in Iran in an area known as Media and spoke a northwestern Iranian language referred to as the Median language .