Herodotus tells us
Note by H Craik to chapter 3 of Tale of a Tub

See Herodotus, Bk. IV. ch. 129. It was the Persians who were helped by the asses to rout the Scythian cavalry.