The Peace of Flamininus (197 BCE) ended Macedonian control in Greece and signaled the end of the Second Macedonian War. The defeated Philip V of Macedon had to withdraw from Greece, had his army reduced, and was required to ask Rome's permission before any military action.