These conflicts weakened the city-states of the Peloponnese and set the stage for the conquests of Philip II of Macedon. In 338 BC, after defeating Athens and its allies, Philip II created the League of Corinth to unite the Greeks in a war against Persia. Philip was named hegemon of the League.