Did Pheidippides invent the marathon?

After the Battle of Marathon, Pheidippides is said to have run back to Athens to report the news of the Athenian victory. But was this run the inspiration for the modern marathon race?