 After his final examinations he undertook a long journey through Italy, which also took him to Egypt in the autumn of 1880.Quite unexpectedly, Julius Franz Pasha, the head of the Technical Office of the Waqf Ministry (≈Ministry of Religious Affairs) offered Herz a job in Cairo.He accepted, and joined the office, which was also responsible for the conservation of mosques.