Hamadan, also known as Ecbatana, is located in the heartland of the Median area. Once the Medes were joined with the Persians under Cyrus, the city became important to the Achaemenids and the royal court spent part of the year here. However Achaemenid remains still lie buried below later buildings and have not yet been located.