The Athens Classic Marathon traces the route of the 1896 Olympic course , starting in Marathon on the eastern coast of Attica , site of the Battle of Marathon of 490 B.C.E. , and ending at the Panathenaic Stadium in Athens .