Following Rome's victory over Antiochus, Ariarathes IV entered friendly relations with the Republic by betrothing his daughter to the king of Pergamum, a Roman ally. The Ariarathid kings would thereafter become a major ally of Rome in the East. The kingdom supported the Republic as a counterweight against the Seleucid Empire, which claimed dominion over the Cappadocian kingdom. Cappadocia would also support Rome in the Third Macedonian War against Perseus of Macedon from 171 to 166 BC. Rome's defeat of the Selecuids and Macedonia established the Republic as a major power in the eastern Mediterranean.