The Attalids became some of the most loyal supporters of Rome in the Hellenistic world. Under Attalus I (241–197 BC), they allied with Rome against Philip V of Macedon, during the first and second Macedonian Wars. In the Roman–Seleucid War against the Seleucid king Antiochus III, Pergamon joined the Romans' coalition and was rewarded with almost all the former Seleucid domains in Asia Minor at the Peace of Apamea in 188 BC. Eumenes II supported the Romans again, against Perseus of Macedon, in the Third Macedonian War, but the Romans did not reward Pergamon for this. On the basis of a rumour that Eumenes had entered into negotiations with Perseus during the war, the Romans attempted to replace Eumenes II with the future Attalus II, but the latter refused. After this, Pergamon lost its privileged status with the Romans and was awarded no further territory by them.