But there are numerous forms of pai-hua and it was finally decided to adopt the most widely spoken kuan-hua, which foreigners translate as ‘mandarin,’ since it has long been the speech used by officials all over China, as distinct from the local dialects.
Source: wiktionary