Macedon began to encroach on territory claimed by several other Greek city states in 200 BC and these pleaded for help from their newfound ally Rome. Rome gave Philip an ultimatum that he must submit Macedonia to being essentially a Roman province. Philip, unsurprisingly, refused and, after initial internal reluctance for further hostilities, Rome declared war against Philip in the Second Macedonian War. In the Battle of the Aous Roman forces under Titus Quinctius Flamininus defeated the Macedonians, and in a second larger battle under the same opposing commanders in 197 BC, in the Battle of Cynoscephalae, Flamininus again beat the Macedonians decisively. Macedonia was forced to sign the Treaty of Tempea, in which it lost all claim to territory in Greece and Asia, and had to pay a war indemnity to Rome.