After raising a mercenary force he took command of the citizen army and defeated the first opponents of Greek freedom, the Boeotians, Macedonians and Euboeans, together with their other allies, in battle in Boeotia .