sentence1: He graduated from the Galatasaray High School in Istanbul in 1858 and became a teacher in Shumen , where he remained until 1864 .
sentence2: In 1858 he graduated from the Galatasaray Gymnasium in Istanbul and became a teacher in Shumen , where he remained until 1864 .