Task: Translation
Input (English): He graduated from the Galatasaray High School in Shumen in 1858 and became a teacher in Istanbul , where he remained until 1864 .
Output (German): 1858 absolvierte er die Galatasaray-Schule in Schumen und wurde Lehrer in Istanbul, wo er bis 1864 blieb.