He moved back to Elisabethpol in 1846 and continued to work as a teacher and write poetry until 1850 when he moved back to Tiflis. He began working in the Tiflis Gymnasium and taught the Persian and Azerbaijani languages.
