Question: How long had the place where the Jin court reestablished itself after fleeing been the capitol city of the headquarters location of Yaxing Coach?

<P0-S0> Archaeological discovery shows that "Nanjing Man" lived in more than 500 thousand years ago. <P0-S1> Zun, a kind of wine vessel, was found to exist in Beiyinyangying culture of Nanjing in about 5000 years ago. <P0-S2> 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. <P0-S3> According to legend,[which?] <P0-S4> Fuchai, King of the State of Wu, founded a fort named Yecheng (冶城) in today's Nanjing area in 495 BC. <P0-S5> 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. <P0-S6> In 333 BC, after eliminating the State of Yue, the State of Chu built Jinling Yi (金陵邑) in the western part of present-day Nanjing. <P0-S7> It was renamed Moling (秣陵) during reign of Qin Shi Huang. <P0-S8> Since then, the city experienced destruction and renewal many times. <P0-S9> [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). <P0-S10> 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. <SEP> <P1-S0> the song dynasty is divided into two distinct periods, northern and southern. <P1-S1> during the northern song (chinese: 北宋; 960 -- 1127), the song capital was in the northern city of bianjing (now kaifeng) and the dynasty controlled most of what is now eastern china. <P1-S2> the southern song (chinese: 南宋; 1127 -- 1279) refers to the period after the song lost control of its northern half to the jurchen jin dynasty in the jin -- song wars. <P1-S3> during this time, the song court retreated south of the yangtze and established its capital at lin'an (now hangzhou). <P1-S4> although the song dynasty had lost control of the traditional ``birthplace of chinese civilization ''along the yellow river, the song economy was still strong, as the southern song empire contained a large population and productive agricultural land. <P1-S5> the southern song dynasty considerably bolstered its naval strength to defend its waters and land borders and to conduct maritime missions abroad. <P1-S6> to repel the jin, and later the mongols, the song developed revolutionary new military technology augmented by the use of gunpowder. <P1-S7> in 1234, the jin dynasty was conquered by the mongols, who took control of northern china, maintaining uneasy relations with the southern song. <P1-S8> möngke khan, the fourth great khan of the mongol empire, died in 1259 while besieging the city of chongqing. <P1-S9> his younger brother kublai khan was proclaimed the new great khan, though his claim was only partially recognized by the mongols in the west. <P1-S10> in 1271, kublai khan was proclaimed the emperor of china. <P1-S11> after two decades of sporadic warfare, kublai khan's armies conquered the song dynasty in 1279. the mongol invasion led to a reunification under the yuan dynasty (1271 -- 1368). <SEP> <P2-S0> Shortly after the unification of the region, the Western Jin dynasty collapsed. <P2-S1> First the rebellions by eight Jin princes for the throne and later rebellions and invasion from Xiongnu and other nomadic peoples that destroyed the rule of the Jin dynasty in the north. <P2-S2> In 317, remnants of the Jin court, as well as nobles and wealthy families, fled from the north to the south and reestablished the Jin court in Nanjing, which was then called Jiankang (建康), replacing Luoyang. <P2-S3> It's the first time that the capital of the nation moved to southern part. <SEP> <P3-S0> Yaxing Coach (Yangzhou Yaxing Motor Coach Co., Ltd) is a bus manufacturer based in Yangzhou, Jiangsu, China. <P3-S1> It is a subsidiary of Jiangsu Yaxing that was founded in 1998. <P3-S2> Buses are produced under the "Yaxing", "Yangtse（Yangzlv）", and more recently Asiastar brands. <SEP> <P4-S0> the city of beijing has a long and rich history that dates back over 3,000 years. <P4-S1> 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. <P4-S2> during the first millennia of imperial rule, beijing was a provincial city in northern china. <P4-S3> 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. <P4-S4> 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. <P4-S5> 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).