Ecbatana (a word which is taken to mean treasury) is the name of several towns of antiquity. Of these the most important is the old capital of Media, said to have been built by Seleucus. Its position is doubtful, but Deioces is said to have had here a wondrous palace surrounded by seven walls, the different battlements of which were each of a different colour. According to the biblical account it was the chief seat of Cyrus, and it appears to have been as favourite a residence of the Persian as of the Median kings. The palace existed in the time of Josephus.