Thebes had been under Macedonian occupation since the battle of chaeronea, which resulted in the defeat and deposition of Thebes