The strategically-placed Isthmus of Corinth has always been of great importance for the control and the protection of the area. It is believed that even from the Mycenaean Times, efforts were made to fortify Isthmus, and the last effort being the building of the Hexamillion Wall. Herodotus refers that when Xerxes attacked the Greeks, many Peloponnesian cities asked for their soldiers to hide at Isthmus and not in Thermopylae.
The one and only pathway from the north part to Peloponnese, therefore, played a very significant role in the history of the land. The Peloponnesians repeatedly fortified the narrow pass, by building the Wall of Isthmus. Later, this constructional base was used, repaired and finally reinforced to constitute the Justinian’s Wall, which is known today as the Hexamilion Wall, because of its 6 miles long length (six : in Greek «hèxi») . It is a work of the Emperor Justine, and repaired in 1415 by the order of Michael Paleologos.
https://visitcorinth.gr/