Rome's preoccupation with its war with Carthage provided an opportunity for Philip V of the kingdom of Macedonia, located in the north of the Greek peninsula, to attempt to extend his power westward. Philip sent ambassadors to <answer>Hannibal</answer>'s camp in Italy, to negotiate an alliance as common enemies of Rome. However, Rome discovered the agreement when Philip's emissaries were captured by a Roman fleet. The First Macedonian War saw the Romans involved directly in only limited land operations, but they ultimately achieved their objective of pre-occupying Philip and preventing him from aiding <answer>Hannibal</answer>.
Who did Philip V seek an alliance with?
Hannibal