of the Kingdom of Hungary, where he befriended the teacher and writer Georgije Magarašević. From 1819 to 1833 he was headmaster and teacher at the Serbian Orthodox gymnasium at Novi Sad. All other teachers at the gymnasium were Serbs, including novelist Milovan Vidaković, who taught there at the same time as Šafárik. He himself taught mathematics, physics, logic, rhetoric, poetry, stylistics and classic literature in Latin, German, and when Magyarization (Hungarisation) by the authorities intensified, also in Hungarian. From 1821 onwards, he also worked as a tutor of the son of the nephew of Metropolitan Stefan Stratimirović. In 1824 he had to renounce the post of headmaster because the Austrian government prohibited the Serbian Orthodox Church from employing Protestants from the Kingdom of Hungary. This caused Šafárik, who had to finance his newly arisen family, to lose a substantial source of income. He therefore tried to find a teaching position in his native country, but for various reasons he did not succeed. In Novi Sad he studied Serbian literature and antiquities, and he acquired many rare – especially Old Church Slavonic – books and manuscripts, which he used in Prague later. He also published a collection of Slovak folk songs and sayings in collaboration with Ján Kollár and others (see Works). In 1826 his Geschichte der slawischen Sprache und Literatur nach allen Mundarten was published. This book was the first attempt to give anything like a systematic account of the Slavonic languages as a whole. Bohemia (1833–1861) In 1832 he finally decided to leave Novi Sad and tried to find a teacher or librarian job in Russia, but again without success. In 1833, with the help of Ján Kollár and on invitation of influential friends in Prague who promised to finance him, he went to Prague, where he spent the remainder of his life. During his entire stay in Prague, especially in the 1840s, his very existence depended on the 380 florins he received annually from his Czech friends under the condition which explicitly expressed František Palacký: "From now on, anything you write, you will write it in Czech only." Šafárik was an editor of the journal Světozor (1834–1835). In 1837 poverty compelled him to accept the uncongenial office of censor of Czech publications, which he abandoned in 1847. Between 1838 and 1842 he was first editor, later conductor, of the journal Časopis Českého musea, since 1841 he was a