In 356 BC the Phocians under Philomelos captured and sacked Delphi, leading to the Third Sacred War (356–346 BC), which ended with the defeat of the former and the rise of Macedon under the reign of Philip II. This led to the Fourth Sacred War (339 BC), which culminated in the Battle of Chaeronea (338 BC) and the establishment of Macedonian rule over Greece.