여기서 could를 쓰면 한국어로는 '~할 수 있었다'로 해석되니까 말이 되는 것 같지만 could가 가정법적인 뉘앙스를 가지고 있어서 어색해요. 실제로 일어난 일에 대해서 '~할 수 있었다'라고 하려면 could가 아닌 was/were able to를 쓰는 게 맞아여! : ~the Spartans were able to succeed in repelling the attack~
: ~the Spartans were able to succeed in repelling the attack~