In 188 BC, after the war against the Seleucids, the Romans seized the possessions of the defeated Antiochus III the Great in Asia Minor and gave Mysia, Lydia, Phrygia, and Pamphylia to the kingdom of Pergamon and Caria Lycia and Pisidia, in the southwestern corner of Asia Minor, to Rhodes, another Roman ally. Later the Romans gave these possessions of Rhodes to Pergamon.
Following the defeat of his erstwhile ally Philip by Rome in 197 BC, Antiochus saw the opportunity for expansion into Greece itself. Encouraged by the exiled Carthaginian general Hannibal, and making an alliance with the disgruntled Aetolian League, Antiochus launched an invasion across the Hellespont. With his huge army, he aimed to establish the Seleucid empire as the foremost power in the Hellenic world, but these plans put the empire on a collision course with the new rising power of the Mediterranean, the Roman Republic. At the battles of Thermopylae (191 BC) and Magnesia (190 BC), Antiochus's forces suffered resounding defeats, and he was compelled to make peace and sign the Treaty of Apamea (188 BC), the main clause of which saw the Seleucids agree to pay a large indemnity, to retreat from Anatolia and to never again attempt to expand Seleucid territory west of the Taurus Mountains.