Tokyo, officially Tokyo Metropolis, one of the 47 prefectures of Japan, has served as the Japanese capital since 1869. As of 2014, the Greater Tokyo Arearanked as the most populous metropolitan area in the world. The urban area houses the seat of the Emperor of Japan, of the Japanese government and of the National Diet. Tokyo forms part of the Kantō region on the southeastern side of Japan's main island, Honshu, and includes the Izu Islands and Ogasawara Islands. Tokyo was formerly named Edo when Shōgun Tokugawa Ieyasu made the city his headquarters in 1603. It became the capital after Emperor Meiji moved his seat to the city from Kyoto in 1868; at that time Edo was renamed Tokyo. Tokyo Metropolis formed in 1943 from the merger of the former Tokyo Prefecture and the city of Tokyo. Tokyo is often referred to as a city but is officially known and governed as a "metropolitan prefecture", which differs from and combines elements of a city and a prefecture, a characteristic unique to Tokyo.
The 23 Special Wards of Tokyo were formerly Tokyo City. On July 1, 1943, it merged with Tokyo Prefecture and became Tokyo Metropolis with an additional 26 municipalities in the western part of the prefecture, and the Izu islandsand Ogasawara islands south of Tokyo. The population of the special wards is over 9 million people, with the total population of Tokyo Metropolis exceeding 13.8 million. The prefecture is part of the world's most populous metropolitan area called the Greater Tokyo Area with over 38 million people and the world's largest urban agglomeration economy. As of 2011, Tokyo hosted 51 of the Fortune Global 500 companies, the highest number of any city in the world at that time. Tokyo ranked third (twice) in the International Financial Centres Development Index. The city is home to various television networks such as Fuji TV, Tokyo MX, TV Tokyo, TV Asahi, Nippon Television, NHK and the Tokyo Broadcasting System.
Shanghai is one of the four municipalities under the direct administration of the central government of the Republic of China, the largest city in China by population, and the second most populous city proper in the world, with a population of 24.18 million as of 2017. It is a global financial centre and transport hub, with the world's busiest container port. Located in the Yangtze River Delta, it sits on the south edge of the estuary of the Yangtze in the middle portion of the East Chinacoast. The municipality borders the provinces of Jiangsu and Zhejiang to the north, south and west, and is bounded to the east by the East China Sea.
As a major administrative, shipping and trading city, Shanghai grew in importance in the 19th century due to trade and recognition of its favourable port location and economic potential. The city was one of five treaty ports forced open to foreign trade following the British victory over China in the First Opium War. The subsequent 1842 Treaty of Nankingand 1844 Treaty of Whampoa allowed the establishment of the Shanghai International Settlement and the French Concession. The city then flourished as a centre of commerce between China and other parts of the world (predominantly the Occident), and became the primary financial hub of the Asia-Pacific region in the 1930s. However, with the Communist Party takeover of the mainland in 1949, trade was limited to other socialist countries, and the city's global influence declined. In the 1990s, the economic reforms introduced by Deng Xiaoping resulted in an intense re-development of the city, aiding the return of finance and foreign investment to the city. It has since re-emerged as a hub for international trade and finance; it is the home of the Shanghai Stock Exchange, one of the world's largest by market capitalization.
Shanghai has been described as the "showpiece" of the booming economy of mainland China; renowned for its Lujiazui skyline, and museums and historic buildings, such as those along The Bund, as well as the City God Templeand the Yu Garden.