Until the early 20th century, Literary Chinese was used in Vietnam for all official and scholarly writing.