Emperor at home, king abroad was a system of conducting relations between states within the Chinese cultural sphere. Rulers of lesser regimes would adopt the title of emperor (çÂÂå¸Â; or other equivalents) and/or other imperial titles domestically, and adopt the title of king (çÂÂ; or other equivalents) when dealing with the dominant Chinese regime. Instead of using the styles Imperial Majesty and Majesty (éÂÂä¸Â), rulers of lesser realms were styled as Highness (殿ä¸Â). This system was applicable to Japan, Korea and Vietnam, as well as less powerful Chinese states, among others.
As China was a hegemonic power in East Asia for a large part of history, surrounding states were compelled to pay tribute to Chinese emperors in exchange for peace and political legitimacy. In this system, lesser regimes accepted the suzerainty of the dominant Chinese power and acknowledged the Chinese emperor as their nominal overlord. Since Chinese emperors claimed to be the Son of Heaven and held supremacy over all under Heaven, rulers of lesser regimes were to use titles subordinate to emperor. The same doctrine also maintained that there could only be one emperor at any given time.
When the Qin dynasty fell, general Zhao Tuo conquered the commanderies of Xiang and Guilin and proclaimed himself "Martial King of Nanyue" () and in 196 BCE he was recognized "King of Nanyue" () after Liu Bang became emperor and founded the Han dynasty. After Liu Bang's death, his officials petitioned his widow Empress Lü to forbid trade in iron between Nanyue and Han; upon hearing the news, Zhao proclaimed himself "Martial Emperor of Nanyue" (), on par with the Han emperors.
Zhao's troops raided the neighboring Changsha Kingdom, which was part of the Han Empire, before returning to Nanyue. In 181 BCE, Empress Lü dispatched general Zhou Zao to lead troops against Nanyue. However, Zhou's troops fell ill because of the heat and dampness and thus failed to cross the mountains to enter Nanyue; later, they were recalled in 180 BCE after Empress Lü's death. Zhao took the opportunity to menace the border regions and bribe the leaders of the Minyue, the Western Ouyue, and the Luoyue into submission. Zhao then stopped sending envoys to the Han court.
In response, Emperor Wen of Han sent Lu Jia to reprimand Zhao. Frightened, Zhao wrote a letter of apology, humbled himself as a feudal subject of the Han Emperor, promised to offer tributes, and publicly announced in Nanyue that he would relinquish imperial title and practices. However, Zhao still secretly designated himself as "Emperor" () inside Nanyue and only used titles appropriate for a tributary feudal lord like "king" () when sending envoys to the Son of Heaven.
The rulers of Balhae used imperial titles, such as Seongwang () and Hwangsang (), and had independent era names.
In 933, King Taejo of Goryeo was conferred the title of King of Goryeo (é«ÂéºÂÃ¥ÂÂçÂÂ) by the Emperor Mingzong of Later Tang. Prior to its capitulation to the Yuan dynasty, imperial designations and terminology were widely used by the Goryeo dynasty domestically. Its rulers claimed to be the Son of Heaven, as did Chinese emperors. King Gyeongsun of Silla addressed King Taejo of Goryeo as the Son of Heaven when he surrendered. Even though the Song dynasty, the Liao dynasty and the Jin dynasty were well-informed of Goryeo's use of imperial titles, all three Chinese dynasties tolerated such practice.
The Goryeo dynasty later became a semi-autonomous region of the Yuan dynasty, bringing an end to its domestic imperial system. Its rulers bore the title king and were prohibited from having temple names which were reserved specifically for the Yuan emperors. In 1356, King Gongmin of Goryeo declared independence from the Yuan dynasty.
In 1392, King Taejo of Joseon overthrew the Goryeo dynasty and founded the Joseon dynasty. He was bestowed the title King of Joseon (æÂÂé®®åÂÂçÂÂ) by the Hongwu Emperor of the Ming dynasty. Both domestically and externally, Joseon monarchs held the title of king, unlike the domestic claim of imperial titles before Goryeo's submission to the Yuan dynasty.
Following the First Sino-Japanese War, Joseon regained its independence from China and with the King Gojong becoming the ' (éì Â) of the Korean Empire.
In 544, Lý Bôn established the Early Lý dynasty and proclaimed himself the Emperor of Vạn Xuân (è¾¥å¸Â).
In 968, ÃÂinh Bá» Lénh founded the ÃÂinh dynasty and declared himself as emperor, abolishing the old title of Jinghaijun Jiedushi (éÂÂæµ·è»Âç¯Â度使), a title of Chinese regional military commander. The Emperor Taizu of Song later bestowed the title King of Jiaozhi Prefecture to ÃÂinh Bá» Lénh.
In 986, Lê Hoàn was bestowed the title of Jinghaijun Jiedushi when the emissary of the Song dynasty visited. In 988, Lê Hoàn was promoted to Proxy Grand Commandant (檢校太å°Â); in 993 to Prince of Jiaozhi Commandery (交趾é¡çÂÂ); and finally in 997 his title was promoted to the King of Nanping (Ã¥ÂÂå¹³çÂÂ).
In 1010, Lý Thái Tá» established the Lý dynasty and was granted the title Prince of Jiaozhi by the Emperor Zhenzong of Song. In 1174, Lý Anh Tông was bestowed the title King of Annan (å®ÂÃ¥ÂÂÃ¥ÂÂçÂÂ); "Annan" or "An Nam", meaning "the Pacified South", was the name of Vietnam during Chinese rule. Domestically, rulers of the Lý dynasty maintained the use of the title emperor.
Upon proclaiming the Later Lê dynasty, Lê Thái Tá» claimed kingship with the title ÃÂại Vðáng (大çÂÂ). It was not until the reign of Lê Thánh Tông did Vietnamese rulers reclaimed imperial titles. The system continued to be used until the end of the dynasty itself, as all rulers claimed imperial status domestically and reverted to royal rank when dealing with China.
Qing invaded ÃÂại Viá»Ât in 1788 to reinstall the Lê dynasty they invested as "kings". The Gia Long Emperor of the Nguyá» n dynasty was conferred the title King of Viá»Ât Nam (è¶ÂÃ¥ÂÂÃ¥ÂÂçÂÂ) by the Jiaqing Emperor of the Qing dynasty. While the Nguyá» n dynasty accepted Chinese suzerainty and adopted the title of king when dealing with the Qing dynasty, it entered into foreign relations with other states as Emperor of ÃÂại Viá»Ât Nam (大è¶ÂÃ¥ÂÂçÂÂå¸Â) and later as Emperor of ÃÂại Nam (大åÂÂçÂÂå¸Â). Domestically, Nguyá» n monarchs also used the title emperor and referred to its realm as the "southern dynasty" (in relation to the Qing dynasty, the "northern dynasty"), implying an equal status with China.
Chinese emperors originally referred to Japanese rulers as the King of Wa (Ã¥ÂÂçÂÂ), while they were called kimi or à Âkimi in Japan. Some of the rulers, notably the five kings of Wa, accepted Chinese suzerainty.
During the Sui dynasty, the Japanese diplomat Ono no Imoko delivered a letter by Prince Shà Âtoku to the Emperor Yang of Sui which claimed the Empress Suiko as "the Son of Heaven where the sun rises", implying an equal status between the Japanese and Chinese monarchs. The Emperor Yang of Sui was angered by such a claim. Since then, the Emperor of Japan has started to adopt the imperial title of both domestically and externally, and the title king (Ã¥ÂÂçÂÂ) was sometimes used for trade with China by shoguns, who held de facto power in Japan. China did not officially allow Japanese emperors to use the title tennà Â, although it did little to compel the Japanese rulers into reverting to lesser titles.
During the Tang dynasty, Japanese rulers were conferred the title King of Japan (æÂ¥æÂŒÂÂçÂÂ). From 630 to 838 Japan sent a total of 19 envoys to the Tang dynasty to stimulate cultural learning and exchange.
During the Yuan dynasty, Kublai Khan demanded the submission of the King of Japan, referring to the Japanese emperor. Japan rejected this demand, which resulted in the Mongol invasions of Japan.
During the Nanboku-chà  period of Japan, Prince Kaneyoshi refused to accept the title of king granted by China, and killed seven Chinese ambassadors in retaliation.
The shogun Ashikaga Yoshimitsu accepted the title King of Japan bestowed by the Yongle Emperor due to his desire to establish trade relations with the Ming dynasty. China also invested the à Âuchi clan with the title.
During the rule of the Tokugawa shogunate, Tokugawa Hidetada changed the title of king to taikun (大åÂÂ), as a sign of respect to the Japanese emperor. Thereafter, Tokugawa Ienobu switched the title back to king, only to be changed once again to taikun by Tokugawa Yoshimune.
Following the Meiji Restoration in 1868, the Japanese emperor regained his political power. The Treaty of Shimonoseki in 1895 calls the Japanese emperor The Great Emperor of the Japanese Empire (大æÂ¥æÂ¬å¸ÂÃ¥ÂÂ大çÂÂå¸ÂéÂÂ).
China was politically divided during multiple periods in its history, with different regions ruled by different dynasties. These dynasties effectively functioned as separate states with their own court and political institutions. Political division existed during the Three Kingdoms, the Sixteen Kingdoms, the Northern and Southern dynasties, and the Five Dynasties and Ten Kingdoms periods, among others.
Relations between Chinese dynasties during periods of division often revolved around political legitimacy, which was derived from the doctrine of the Mandate of Heaven. Dynasties ruled by ethnic Han would proclaim rival dynasties founded by other ethnicities as illegitimate, usually justified based on the concept of HuaâÂÂYi distinction. On the other hand, many dynasties of non-Han origin saw themselves as the legitimate dynasty of China and often sought to portray themselves as the true inheritor of Chinese culture and history. Traditionally, only regimes deemed as "legitimate" or "orthodox" (; ) are termed (; "dynasty"); "illegitimate" or "unorthodox" regimes are referred to as (; usually translated as either "state" or "kingdom"), even if these regimes were dynastic in nature.