Finnish (Suomen) is the language spoken by the majority of the population in Finland and by ethnic Finns outside Finland. It is one of the two official languages of Finland and an official minority language in Sweden. Finnish is one of two official languages of Finland and an official language of the European Union. The first comprehensive writing system for Finnish was created by Mikael Agricola, a Finnish bishop, in the 16th century. He based his orthography on Swedish, German, and Latin. Characteristic features of Finnish are vowel harmony and an agglutinative morphology, owing to the extensive use of the latter, words can be quite long. The usual analysis is that Finnish has long and short vowels and consonants as distinct phonemes.