The orthography of the Greek language ultimately has its roots in the adoption of the Greek alphabet in the 9th century BC. Some time prior to that, one early form of Greek, Mycenaean, was written in Linear B, although there was a lapse of several centuries (the Greek Dark Ages) between the time Mycenaean stopped being written and the time when the Greek alphabet came into use.
Early Greek writing in the Greek alphabet was phonemic, different in each dialect. Since the adoption of the Ionic variant for Attic in 403 BC, however, Greek orthography has been largely conservative and historical.
Given the phonetic development of Greek, especially in the Hellenistic period, certain modern vowel phonemes have multiple orthographic realizations:
This affects not only lexical items but also inflectional affixes, so correct orthography requires mastery of formal grammar, e.g. η καλή /i kaˈli/ 'the good one (fem. sing.)' vs. οι καλοί /i kaˈli/ 'the good ones (masc. pl.)'; καλώ /kaˈlo/ 'I call' vs. καλό /kaˈlo/ 'good (neut. sing.)'.
Similarly, the orthography preserves ancient doubled consonants, though these are now pronounced the same as single consonants, except in Cypriot Greek.