Until the early 20th century, Classical Chinese was the written language of government and scholarship in Vietnam. Popular literature in Vietnamese was written in the chữ Nôm script, consisting of borrowed Chinese characters together with many characters created locally. By the end of the 1920s, both scripts had been replaced by writing in Vietnamese using the Latin-based Vietnamese alphabet.[1][2]