Task: Translation
Input (French): Il obtint son diplôme au lycée Galatasaray de Shumen en 1858 et devint professeur à Istanbul, où il resta jusqu'en 1864.
Output (English): In 1858 he graduated from the Galatasaray School in Schumen and became a teacher in Istanbul , where he remained until 1864 .