Mistake: 'was' should be 'were' because 'people' is plural.
Corrected sentence: There were about 500 people in the last marathon.