Scandinavia the church and law courts remained Icelandic. The Scandinavian languages are (as a language family) unrelated to Finnish, Estonian and Sami languages, which as Uralic languages are distantly related to Hungarian. Owing to the close proximity, there is still a great deal of borrowing from the Swedish and Norwegian languages in the Finnish and Sami languages. The long history of linguistic influence of Swedish on Finnish is also due to the fact that Finnish, the language of the majority in Finland, was treated as a minority language while Finland was part of Sweden. Finnish-speakers had to learn Swedish in order
Uralic languages part of Uralic. Meanwhile, in the autonomous Grand Duchy of Finland, a chair for Finnish language and linguistics at the University of Helsinki was created in 1850, first held by Castrén. In 1883, the Finno-Ugrian Society was founded in Helsinki on the proposal of Otto Donner, which would lead to Helsinki overtaking St. Petersburg as the chief northern center of research of the Uralic languages. During the late 19th and early 20th century (until the separation of Finland from Russia following the Russian revolution), a large number of stipendiates were sent by the Society to survey the still less known