Macedonia (or Macedon) was an ancient kingdom on the northern periphery of Classical Greece and later the dominant state of Hellenistic Greece. The rise of Macedon, from a small kingdom at the fringe of typical Greek city states affairs, to one which came to control the fate of the entire Hellenic world, occurred under the reign of Philip II. With the innovative Macedonian army, he defeated the old powers of Athens and Thebes in the decisive Battle of Chaeronea in 338 BC and subdued them, while keeping Sparta in check. His son Alexander the Great pursued his father's effort to command the whole of Greece through the federation of Greek states, a feat he finally accomplished after destroying a revolting Thebes. Young Alexander was then ready to lead this force, as he aspired, in a large campaign against the Achaemenid Empire, in retaliation for the invasion of Greece in the 5th century BC.