How many miles long was the ancient Olympics track?

The ancient Olympics race track was 500 miles long.