title: Religion in ancient Rome
paragraph_text: In 295, a certain Maximilian refused military service; in 298 Marcellus renounced his military oath. Both were executed for treason; both were Christians. At some time around 302, a report of ominous haruspicy in Diocletian's domus and a subsequent (but undated) dictat of placatory sacrifice by the entire military triggered a series of edicts against Christianity. The first (303 AD) "ordered the destruction of church buildings and Christian texts, forbade services to be held, degraded ofﬁcials who were Christians, re-enslaved imperial freedmen who were Christians, and reduced the legal rights of all Christians... [Physical] or capital punishments were not imposed on them" but soon after, several Christians suspected of attempted arson in the palace were executed. The second edict threatened Christian priests with imprisonment and the third offered them freedom if they performed sacrifice. An edict of 304 enjoined universal sacrifice to traditional gods, in terms that recall the Decian edict.
title: Nanjing
paragraph_text: The first emperor of the Ming dynasty, Zhu Yuanzhang (the Hongwu Emperor), who overthrew the Yuan dynasty, renamed the city Yingtian, rebuilt it, and made it the dynastic capital in 1368. He constructed a 48 km (30 mi) long city wall around Yingtian, as well as a new Ming Palace complex, and government halls. It took 200,000 laborers 21 years to finish the project. The present-day City Wall of Nanjing was mainly built during that time and today it remains in good condition and has been well preserved. It is among the longest surviving city walls in China. The Jianwen Emperor ruled from 1398 to 1402.
title: Religion in ancient Rome
paragraph_text: In the wake of religious riots in Egypt, the emperor Decius decreed that all subjects of the Empire must actively seek to benefit the state through witnessed and certified sacrifice to "ancestral gods" or suffer a penalty: only Jews were exempt. Decius' edict appealed to whatever common mos maiores might reunite a politically and socially fractured Empire and its multitude of cults; no ancestral gods were specified by name. The fulfillment of sacrificial obligation by loyal subjects would define them and their gods as Roman. Roman oaths of loyalty were traditionally collective; the Decian oath has been interpreted as a design to root out individual subversives and suppress their cults, but apostasy was sought, rather than capital punishment. A year after its due deadline, the edict expired.
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: 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: 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: 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: 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: 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: 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: 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: Qing dynasty
paragraph_text: On 12 February 1912, after rounds of negotiations, Longyu issued an imperial edict bringing about the abdication of the child emperor Puyi. This brought an end to over 2,000 years of Imperial China and began an extended period of instability of warlord factionalism. The unorganized political and economic systems combined with a widespread criticism of Chinese culture led to questioning and doubt about the future. In the 1930s, the Empire of Japan invaded Northeast China and founded Manchukuo in 1932, with Puyi, as the emperor. After the invasion by the Soviet Union, Manchukuo collapsed in 1945.
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: 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: Sino-Tibetan relations during the Ming dynasty
paragraph_text: As evident in his imperial edicts, the Hongwu Emperor was well aware of the Buddhist link between Tibet and China and wanted to foster it. Rolpe Dorje, 4th Karmapa Lama (1340–1383) rejected the Hongwu Emperor's invitation, although he did send some disciples as envoys to the court in Nanjing. The Hongwu Emperor also entrusted his guru Zongluo, one of many Buddhist monks at court, to head a religious mission into Tibet in 1378–1382 in order to obtain Buddhist texts.
title: Sino-Tibetan relations during the Ming dynasty
paragraph_text: According to Chen, the Ming officer of Hezhou (modern day Linxia) informed the Hongwu Emperor that the general situation in Dbus and Gtsang "was under control," and so he suggested to the emperor that he offer the second Phagmodru ruler, Jamyang Shakya Gyaltsen, an official title. According to the Records of the Founding Emperor, the Hongwu Emperor issued an edict granting the title "Initiation State Master" to Sagya Gyaincain, while the latter sent envoys to the Ming court to hand over his jade seal of authority along with tribute of colored silk and satin, statues of the Buddha, Buddhist scriptures, and sarira.
title: Heresy
paragraph_text: Constantine the Great, who along with Licinius had decreed toleration of Christianity in the Roman Empire by what is commonly called the "Edict of Milan", and was the first Roman Emperor baptized, set precedents for later policy. By Roman law the Emperor was Pontifex Maximus, the high priest of the College of Pontiffs (Collegium Pontificum) of all recognized religions in ancient Rome. To put an end to the doctrinal debate initiated by Arius, Constantine called the first of what would afterwards be called the ecumenical councils and then enforced orthodoxy by Imperial authority.
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: Nanjing
paragraph_text: Zhu Yousong, however, fared a lot worse than his ancestor Zhu Yuanzhang three centuries earlier. Beset by factional conflicts, his regime could not offer effective resistance to Qing forces, when the Qing army, led by the Manchu prince Dodo approached Jiangnan the next spring. Days after Yangzhou fell to the Manchus in late May 1645, the Hongguang Emperor fled Nanjing, and the imperial Ming Palace was looted by local residents. On June 6, Dodo's troops approached Nanjing, and the commander of the city's garrison, Zhao the Earl of Xincheng, promptly surrendered the city to them. The Manchus soon ordered all male residents of the city to shave their heads in the Manchu queue way. They requisitioned a large section of the city for the bannermen's cantonment, and destroyed the former imperial Ming Palace, but otherwise the city was spared the mass murders and destruction that befell Yangzhou.
title: Sino-Tibetan relations during the Ming dynasty
paragraph_text: Throughout the following month, the Yongle Emperor and his court showered the Karmapa with presents. At Linggu Temple in Nanjing, he presided over the religious ceremonies for the Yongle Emperor's deceased parents, while twenty-two days of his stay were marked by religious miracles that were recorded in five languages on a gigantic scroll that bore the Emperor's seal. During his stay in Nanjing, Deshin Shekpa was bestowed the title "Great Treasure Prince of Dharma" by the Yongle Emperor. Elliot Sperling asserts that the Yongle Emperor, in bestowing Deshin Shekpa with the title of "King" and praising his mystical abilities and miracles, was trying to build an alliance with the Karmapa as the Mongols had with the Sakya lamas, but Deshin Shekpa rejected the Yongle Emperor's offer. In fact, this was the same title that Kublai Khan had offered the Sakya Phagpa lama, but Deshin Shekpa persuaded the Yongle Emperor to grant the title to religious leaders of other Tibetan Buddhist sects.

Question: How long was the city where the Yongle Emperor greeted the leader that the edict was addressed to, the capital city of Yangzhou?

Question decomposition:
question: Who was the edict addressed to?
answer: the Karmapa
question: Where did the Yongle Emperor greet the #1 ?
answer: Nanjing
question: How long had #2 been the capital city of Yangzhou?
answer: about 400 years

Answer: about 400 years