From 304 BC Demetrius I granted the city partial autonomy. During this time the city was governed by Menedemos who founded the Eretrian school of philosophy. After the Chremonidean War (267–262 BC) a permanent Macedonian garrison was installed.