When were the last ancient Olympics held?

AD 393
385 was the last recorded games, although the games may have continued to 393 (in 394 the games were banned by the then Roman Emperor).