The treaties of Küçük Kaynarca, Jassy and Constantinople guaranteed the freedom of religion for Ottoman subjects, while also safeguarding church property and granting the right to erect new churches. A year later he was promoted to presbyter and sent to the village of Vizitsa, where he worked as a teacher. At the conclusion of his one year contract he departed for Constantinople, where he served as a secretary for the Ecumenical Patriarch of Constantinople Sofronios II. Sofronios remarked upon Gazis' dedication and hard work rewarding him with the rank of archimandrite. Gazis soon befriended a merchant named Aggelis Mammaras of Makrinitsa who urged him to leave for Vienna after covering his expenses. Gazis left for Vienna in 1789. The peace treaties of Passarowitz and Belgrade had restored commercial activity between the Habsburg Monarchy and the Ottoman Empire. Vienna became an important center of the Greek diaspora, where both goods and ideas were exchanged freely. The religious life of the Greek community revolved around the Church of Saint George and the Holy Trinity Church. In May 1796, a twelve man commission voted Gazis as the new rector of the former. During this time frame he devoted time to the study of physics and mathematics while also translating Benjamin Martin’s “Philosophical Grammar” from French which he published in 1799. Gazis supplemented the translation with extensive notes of his own on the subjects of electricity, magnetism, chemical reactions and the propagation of light. In 1800, Gazis reissued an edited version of Rigas Feraios' "Charta of Greece"; dimensions were cut in half and Jean-Denis Barbié du Bocage's topographical plans were removed. The second edition was dedicated to the Greek nation and showed an allegorical figure representing the Greek civilization as being armed, with the motto "I shall follow your lead" appearing beneath her. In 1802, he published Fourcroy's "The Philosophy of Chemistry"; the text also contains additions from Fourcroy's "A General System of Chemical Knowledge", Scherzer's "Journal der Chemie" (Leipzig, 1792), "Französische Annalen der Allgemeinen Naturgeshichte" (Hamburg, 1802) and Gren's "Grundriss der Chemie". In the same year his health deteriorated significantly due to an illness.