the combined force consisted of ten thousand athenian infantry and six hundred cavalry , twelve thousand theban infantry and eight hundred cavalry , and the sacred band of three hundred devoted fighters .