While fighting the Lydians, Cyrus had sent messages to the Ionians asking them to revolt against Lydian rule, which the Ionians had refused to do. After Cyrus finished the conquest of Lydia, the Ionian cities now offered to be his subjects under the same terms as they had been subjects of Croesus. Cyrus refused, citing the Ionians' unwillingness to help him previously. The Ionians thus prepared to defend themselves, and Cyrus sent the Median general Harpagus to conquer them. He first attacked Phocaea; the Phocaeans decided to abandon their city entirely and sail into exile in Sicily, rather than become Persian subjects (although many later returned). Some Teians also chose to emigrate when Harpagus attacked Teos, but the rest of the Ionians remained, and were each in turn conquered.