During the Middle Ages, Greek writing varied along a continuum between extreme forms of the high register very close to Attic, and moderate forms much closer to the spoken Demotic. According to Manolis Triantafyllides, the modern Greek language of the beginning of the 19th century, as used in the demotic poetry of the time, has very few grammatical differences from the vernacular language of the 15th century. During the early Modern Era, a middle-ground variety of moderately archaic written standard Greek emerged in the usage of educated Greeks (such as the Phanariots) and the Greek church; its syntax was essentially Modern Greek. After the Greek War of Independence and the formation of the modern Greek state (1830), a political effort was made to "purify" this form of Greek by bringing it back to resemble classical Attic Greek more closely. The result was Katharevousa (καθαρεύουσα, lit. 'the purifying one'), still a compromise form with basically Modern Greek syntax, but re-lexified with a much larger amount of Ancient Greek words and morphology. Katharevousa was used as an official language in administration, education, the church, journalism, and (until the late 19th century) in literature.