 Later, returning to the Kingdom of Hungary, became an assistant rector and became afterwards the rector at the Lutheran grammar school in Besztercebánya (Banská Bystrica), where he was also simultaneously a pastor.As a Rákóczi-sympathisant, he was almost executed by General Sigbert Heister.Between 1714 and 1719, he was the rector of the Lutheran grammar school and then also a pastor of the German Lutheran church in Pressburg.