 When Alexander died in 323 BC, Miletus came under the control of Ptolemy, governor of Caria and his satrap of Lydia Asander, who had become autonomous.In 312 BC, Macedonian general Antigonus I Monophthalmus sent Docimus and Medeius to free the city and grant autonomy, restoring the democratic patrimonial regime.In 301 BC, after Antigonus I was killed in the Battle of Ipsus by the coalition of Lysimachus, Cassander, and Seleucus I Nicator, founder of the Seleucid Empire, Miletus maintained good relations with all the successors after Seleucus I Nicator made substantial donations to the sanctuary of Didyma and returned the statue of Apollo that had been stolen by the Persians in 494 BC.