During Darius's Greek expedition, he had begun construction projects in Susa, Egypt and Persepolis. He had linked the Red Sea to the river Nile by building a canal (Darius Canal) which ran from modern Zaqāzīq to modern Suez. To open this canal, he travelled to Egypt in 497 BCE, where the inauguration was carried out with great fanfare and celebration. Darius also built a canal to connect the Red Sea and Mediterranean. On this visit to Egypt he erected monuments and executed Aryandes on the charge of treason. When Darius returned to Persis, he found that the codification of Egyptian law had been finished.