After the end of the Fifth Syrian War, Ptolemy V made an effort to reassert Ptolemaic power on the world stage and to claw back some of the territories lost to the Seleucids, with very little success. When the Roman–Seleucid War broke out in 192 BC, Ptolemy V sent an embassy to Rome offering financial and military support, but the Senate refused it, apparently annoyed about the separate peace that Ptolemy V had made with Antiochus III in 194/3 BC. Another embassy to Rome in 191 BC, congratulating the Senate on the Roman victory at the Battle of Thermopylae, was entirely ignored. At the end of the war in 188 BC, when the Romans imposed the Treaty of Apamea on Antiochus III, which forced him to give up all his territory in Asia Minor, they did not return the former Ptolemaic holdings in the region to Ptolemy V, but awarded them to Pergamum and Rhodes instead.