At the same time, spoken Demotic, while not recognised as an official language, nevertheless developed a supra-regional, de facto standard variety. From the late 19th century onwards, written Demotic rather than Katharevousa became the primary medium of literature. During much of the 20th century, there were heated political conflicts over the use of either of the two varieties, especially over the issue of their use in education. Schools were forced to switch from one form to the other and back several times during the 20th century. The conflict was resolved only after the overthrow of the Greek military junta of 1967-1974, whose strong ideological pro-Katharevousa stance had ultimately contributed to bringing that language form into disrepute. In 1976, shortly after the restoration of democracy, Demotic was finally adopted for use everywhere in education and became the language of the state for all official purposes. By that time, however, the form of Demotic used in practice was no longer the pure popular dialect, but had begun to assimilate elements from the Katharevousa tradition again. In 1982 diacritics were replaced by the "monotonic orthography".