title: Sino-Tibetan relations during the Ming dynasty
paragraph_text: Shih-Shan Henry Tsai writes that the Yongle Emperor sent his eunuch Yang Sanbao into Tibet in 1413 to gain the allegiance of various Tibetan princes, while the Yongle Emperor paid a small fortune in return gifts for tributes in order to maintain the loyalty of neighboring vassal states such as Nepal and Tibet. However, Van Praag states that Tibetan rulers upheld their own separate relations with the kingdoms of Nepal and Kashmir, and at times "engaged in armed confrontation with them."
title: Sino-Tibetan relations during the Ming dynasty
paragraph_text: In his usurpation of the throne from the Jianwen Emperor (r. 1398–1402), the Yongle Emperor was aided by the Buddhist monk Yao Guangxiao, and like his father, the Hongwu Emperor, the Yongle Emperor was "well-disposed towards Buddhism", claims Rossabi. On March 10, 1403, the Yongle Emperor invited Deshin Shekpa, 5th Karmapa Lama (1384–1415), to his court, even though the fourth Karmapa had rejected the invitation of the Hongwu Emperor. A Tibetan translation in the 16th century preserves the letter of the Yongle Emperor, which the Association for Asian Studies notes is polite and complimentary towards the Karmapa. The letter of invitation reads,
title: Nanjing
paragraph_text: Archaeological discovery shows that "Nanjing Man" lived in more than 500 thousand years ago. Zun, a kind of wine vessel, was found to exist in Beiyinyangying culture of Nanjing in about 5000 years ago. In the late period of Shang dynasty, Taibo of Zhou came to Jiangnan and established Wu state, and the first stop is in Nanjing area according to some historians based on discoveries in Taowu and Hushu culture. According to legend,[which?] Fuchai, King of the State of Wu, founded a fort named Yecheng (冶城) in today's Nanjing area in 495 BC. Later in 473 BC, the State of Yue conquered Wu and constructed the fort of Yuecheng (越城) on the outskirts of the present-day Zhonghua Gate. In 333 BC, after eliminating the State of Yue, the State of Chu built Jinling Yi (金陵邑) in the western part of present-day Nanjing. It was renamed Moling (秣陵) during reign of Qin Shi Huang. Since then, the city experienced destruction and renewal many times.[citation needed] The area was successively part of Kuaiji, Zhang and Danyang prefectures in Qin and Han dynasty, and part of Yangzhou region which was established as the nation's 13 supervisory and administrative regions in the 5th year of Yuanfeng in Han dynasty (106 BC). Nanjing was later the capital city of Danyang Prefecture, and had been the capital city of Yangzhou for about 400 years from late Han to early Tang.
title: Sino-Tibetan relations during the Ming dynasty
paragraph_text: The Information Office of the State Council of the PRC preserves an edict of the Zhengtong Emperor (r. 1435–1449) addressed to the Karmapa in 1445, written after the latter's agent had brought holy relics to the Ming court. Zhengtong had the following message delivered to the Great Treasure Prince of Dharma, the Karmapa:
title: History of Beijing
paragraph_text: The city of Beijing has a long and rich history that dates back over 3,000 years. Prior to the unification of China by the First Emperor in 221 BC, Beijing had been for centuries the capital of the ancient states of Ji and Yan. During the first millennia of imperial rule, Beijing was a provincial city in northern China. Its stature grew in the 10th to the 13th centuries when the nomadic Khitan and forest - dwelling Jurchen peoples from beyond the Great Wall expanded southward and made the city a capital of their dynasties, the Liao and Jin. When Kublai Khan made Dadu the capital of the Mongol - led Yuan dynasty (1279 -- 1368), all of China was ruled from Beijing for the first time. From 1279 onward, with the exception of two interludes from 1368 to 1420 and 1928 to 1949, Beijing would remain as China's capital, serving as the seat of power for the Ming dynasty (1421 -- 1644), the Manchu - led Qing dynasty (1644 -- 1912), the early Republic of China (1912 -- 1928) and now the People's Republic of China (1949 -- present).
title: Sino-Tibetan relations during the Ming dynasty
paragraph_text: In 1368, a Han Chinese revolt known as the Red Turban Rebellion toppled the Mongol Yuan dynasty in China. Zhu Yuanzhang then established the Ming dynasty, ruling as the Hongwu Emperor (r. 1368–1398). It is not clear how much the early Ming court understood the civil war going on in Tibet between rival religious sects, but the first emperor was anxious to avoid the same trouble that Tibet had caused for the Tang dynasty. Instead of recognizing the Phagmodru ruler, the Hongwu Emperor sided with the Karmapa of the nearer Kham region and southeastern Tibet, sending envoys out in the winter of 1372–1373 to ask the Yuan officeholders to renew their titles for the new Ming court.
title: Sino-Tibetan relations during the Ming dynasty
paragraph_text: Even though the Gelug exchanged gifts with and sent missions to the Ming court up until the 1430s, the Gelug was not mentioned in the Mingshi or the Mingshi Lu. On this, historian Li Tieh-tseng says of Tsongkhapa's refusal of Ming invitations to visit the Yongle Emperor's court:
title: Sino-Tibetan relations during the Ming dynasty
paragraph_text: Despite this glowing message by the Emperor, Chan writes that a year later in 1446, the Ming court cut off all relations with the Karmapa hierarchs. Until then, the court was unaware that Deshin Shekpa had died in 1415. The Ming court had believed that the representatives of the Karma Kagyu who continued to visit the Ming capital were sent by the Karmapa.
title: Yaxing Coach
paragraph_text: Yaxing Coach (Yangzhou Yaxing Motor Coach Co., Ltd) is a bus manufacturer based in Yangzhou, Jiangsu, China. It is a subsidiary of Jiangsu Yaxing that was founded in 1998. Buses are produced under the "Yaxing", "Yangtse（Yangzlv）", and more recently Asiastar brands.
title: Nanjing
paragraph_text: A monument to the huge human cost of some of the gigantic construction projects of the early Ming dynasty is the Yangshan Quarry (located some 15–20 km (9–12 mi) east of the walled city and Ming Xiaoling mausoleum), where a gigantic stele, cut on the orders of the Yongle Emperor, lies abandoned, just as it was left 600 years ago when it was understood it was impossible to move or complete it.
title: Sino-Tibetan relations during the Ming dynasty
paragraph_text: In order to seek out the Karmapa, the Yongle Emperor dispatched his eunuch Hou Xian and the Buddhist monk Zhi Guang (d. 1435) to Tibet. Traveling to Lhasa either through Qinghai or via the Silk Road to Khotan, Hou Xian and Zhi Guang did not return to Nanjing until 1407.
title: History of the Ming dynasty
paragraph_text: After lying dormant and dilapidated for decades, the Grand Canal was restored under the Yongle Emperor's rule from 1411 -- 1415. The impetus for restoring the canal was to solve the perennial problem of shipping grain north to Beijing. Shipping the annual 4,000,000 shi (one shi is equal to 107 liters) was made difficult with an inefficient system of shipping grain through the East China Sea or by several different inland canals that necessitated the transferring of grain onto several different barge types in the process, including shallow and deep - water barges. William Atwell quotes Ming dynasty sources that state the amount of collected tax grain was actually 30 million shi (93 million bushels), much larger than what Brook notes. The Yongle Emperor commissioned some 165,000 workers to dredge the canal bed in western Shandong and built a series of fifteen canal locks. The reopening of the Grand Canal had implications for Nanjing as well, as it was surpassed by the well - positioned city of Suzhou as the paramount commercial center of China. Despite greater efficiency, there were still factors which the government could not control that limited the transportation of taxed grain; for example, in 1420 a widespread crop failure and poor harvest dramatically reduced the tax grain delivered to the central government.
title: Kathmandu
paragraph_text: Kathmandu(/ˌkɑːtmɑːnˈduː/; Nepali pronunciation: [kɑʈʰmɑɳɖu]) is the capital and largest municipality of Nepal. It also hosts the headquarters of the South Asian Association for Regional Cooperation (SAARC). It is the only city of Nepal with the administrative status of Mahanagar (Metropolitan City), as compared to Upa-Mahanagar (Sub-Metropolitan City) or Nagar (City). Kathmandu is the core of Nepal's largest urban agglomeration located in the Kathmandu Valley consisting of Lalitpur, Kirtipur, Madhyapur Thimi, Bhaktapur and a number of smaller communities. Kathmandu is also known informally as "KTM" or the "tri-city". According to the 2011 census, Kathmandu Metropolitan City has a population of 975,453 and measures 49.45 km2 (19.09 sq mi).
title: Sino-Tibetan relations during the Ming dynasty
paragraph_text: The Ming dynasty granted titles to lamas of schools such as the Karmapa Kargyu, but the latter had previously declined Mongol invitations to receive titles. When the Ming Yongle Emperor invited Je Tsongkhapa (1357–1419), founder of the Gelug school, to come to the Ming court and pay tribute, the latter declined. Wang and Nyima write that this was due to old age and physical weakness, and also because of efforts being made to build three major monasteries. Chen Qingying states that Tsongkhapa wrote a letter to decline the Emperor's invitation, and in this reply, Tsongkhapa wrote:
title: Heian period
paragraph_text: The Heian period was preceded by the Nara period and began in 794 A.D after the movement of the capital of Japan to Heian-kyō (present day Kyōto京都), by the 50th emperor, Emperor Kanmu. Kanmu first tried to move the capital to Nagaoka-kyō, but a series of disasters befell the city, prompting the emperor to relocate the capital a second time, to Heian. The Heian Period is considered a high point in Japanese culture that later generations have always admired. The period is also noted for the rise of the samurai class, which would eventually take power and start the feudal period of Japan.
title: History of Delhi
paragraph_text: The Indian capital city of Delhi has a long history, and has been an important political centre of India as the capital of several empires. Much of Delhi's ancient history finds no record and this may be regarded as a lost period of its history. Extensive coverage of Delhi's history begins with the onset of the Delhi Sultanate in the 12th century. Since then, Delhi has been the centre of a succession of mighty empires and powerful kingdoms, making Delhi one of the longest serving Capitals and one of the oldest inhabited cities in the world. It is considered to be a city built, destroyed and rebuilt several times, as outsiders who successfully invaded the Indian Subcontinent would ransack the existing capital city in Delhi, and those who came to conquer and stay would be so impressed by the city's strategic location as to make it their capital and rebuild it in their own way. The core of Delhi's tangible heritage is Hindu, Islamic (spanning over seven centuries of Islamic rule over the city) with expansive British - era architecture in Lutyens' Delhi dating to the British rule in India.
title: Sino-Tibetan relations during the Ming dynasty
paragraph_text: During his travels beginning in 1403, Deshin Shekpa was induced by further exhortations by the Ming court to visit Nanjing by April 10, 1407. Norbu writes that the Yongle Emperor, following the tradition of Mongol emperors and their reverence for the Sakya lamas, showed an enormous amount of deference towards Deshin Shekpa. The Yongle Emperor came out of the palace in Nanjing to greet the Karmapa and did not require him to kowtow like a tributary vassal. According to Karma Thinley, the emperor gave the Karmapa the place of honor at his left, and on a higher throne than his own. Rossabi and others describe a similar arrangement made by Kublai Khan and the Sakya Phagpa lama, writing that Kublai would "sit on a lower platform than the Tibetan cleric" when receiving religious instructions from him.
title: List of capitals in Pakistan
paragraph_text: Islamabad officially became the capital of Pakistan on 14 August 1967, exactly 20 years after the country's independence. Previously, Rawalpindi was the capital, designated in 1958. The first capital of Pakistan was the coastal city of Karachi, which was selected by Muhammad Ali Jinnah. Karachi was and still is the largest city and economic capital of Pakistan. It remained the seat of government until 1959, when the military president, Ayub Khan, decided to build a new capital in the north of Pakistan, near the general headquarters of the Pakistani Armed Forces at Rawalpindi.
title: Sino-Tibetan relations during the Ming dynasty
paragraph_text: Some scholars note that Tibetan leaders during the Ming frequently engaged in civil war and conducted their own foreign diplomacy with neighboring states such as Nepal. Some scholars underscore the commercial aspect of the Ming-Tibetan relationship, noting the Ming dynasty's shortage of horses for warfare and thus the importance of the horse trade with Tibet. Others argue that the significant religious nature of the relationship of the Ming court with Tibetan lamas is underrepresented in modern scholarship. In hopes of reviving the unique relationship of the earlier Mongol leader Kublai Khan (r. 1260–1294) and his spiritual superior Drogön Chögyal Phagpa (1235–1280) of the Sakya school of Tibetan Buddhism, the Yongle Emperor (r. 1402–1424) made a concerted effort to build a secular and religious alliance with Deshin Shekpa (1384–1415), the Karmapa of the Karma Kagyu school. However, the Yongle Emperor's attempts were unsuccessful.
title: Anzoátegui
paragraph_text: Anzoátegui State (, ) is one of the 23 component states of Venezuela, located in the northeastern region of the country. Anzoátegui is well known for its beaches that attract many visitors. Its coast consists of a single beach approximately 100 km long. Its capital is the city of Barcelona, and significant cities include Puerto la Cruz and El Tigre.

Question: How long had the city where the Yongle Emperor greeted the Karmapa been the capitol city of Yaxing Coach's headquarters location?

Question decomposition:
question: Yaxing Coach >> headquarters location
answer: Yangzhou
question: Where did the Yongle Emperor greet the Karmapa?
answer: Nanjing
question: How long had #2 been the capital city of #1 ?
answer: about 400 years

Answer: about 400 years