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
Finno-Samic languages but prior to the development of their most distinctive features. Finno-Samic languages The Finno-Samic languages (also "Finno-Saamic, Finno-Lappic, Saamic–Fennic") are a hypothetical subgroup of the Uralic family, and are made up of 22 languages classified into either the Sami languages, which are spoken by the Sami people who inhabit the Sápmi region of northern Fennoscandia, or Finnic languages, which include the major languages Finnish and Estonian. The grouping is not universally recognized as valid. The Mordvinic languages appear to also align closely with both Finnic and Samic. Some innovations in the consonant system are shared by Finnic and Mordvinic specifically,