What was the first ever men's marathon?

after the battle of marathon. A runner was sent to the capital to tell the news of the battle. He dropped dead after telling the news to the king. It's a Greek myth.