Classical Chinese or literary Chinese is a traditional register of written Chinese. It is based on the grammar and vocabulary of ancient Chinese, so it is very different from any modern spoken form of Chinese. Classical Chinese was once used for almost all formal writing before and during the beginning of the 20th century in China, and during various different periods in Korea, Japan and Vietnam. Among Chinese speakers, Classical Chinese has been largely replaced by written vernacular Chinese, or 白话/白話 "báihuà" ("plain speech") after the overthrow of the Qing dynasty and therefore the end of Imperial China. Written Vernacular Chinese is a writing style very closely related to modern spoken Mandarin Chinese. At the same time, non-Chinese speakers have largely given up Classical Chinese, and use their local languages or dialects instead.