Rome fought 4 Macedonian Wars between 215 and 148 B.C.
The First Macedonian War (215-205 B.C.) was a diversion during the Punic Wars. It was brought on by the alliance of Philip V of Macedonia and Hannibal of Carthage. Philip and Rome settled with each other so Rome could go focus on Carthage.
In the Second Macedonian War (200-196 B.C.), Rome officially freed Greece from Philip and Macedonia.
The Third Macedonian War (172-168 B.C.) was fought against Philip's son Perseus who had moved against the Greeks. Rome declared war and divided Macedonia into 4 republics.
After each of the first three Macedonian wars, the Romans went back to Rome after punishing or otherwise dealing with the Macedonians and receiving some reward from the Greeks. When the Fourth Macedonian War (150-148 B.C.) began, as the result of a Macedonian rebellion, fomented by a man who claimed to be Perseus' son, Rome again stepped in. This time, Rome stayed in Macedonia. Macedonia and Epirus were made a Roman province.
Aftermath of the Fourth Macedonian War
The Greeks' Achaean League tried unsuccessfully to get rid of the Romans. Their city of Corinth was destroyed for its part in an uprising in 146 B.C. Rome had expanded its empire.

