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?

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. 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). <SEP> Shortly after the unification of the region, the Western Jin dynasty collapsed. 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. 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. It's the first time that the capital of the nation moved to southern part. <SEP> 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. Yaxing Coach (Yangzhou Yaxing Motor Coach Co., Ltd) is a bus manufacturer based in Yangzhou, Jiangsu, China. <SEP> 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). <SEP> the song dynasty is divided into two distinct periods, northern and southern. 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. 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. during this time, the song court retreated south of the yangtze and established its capital at lin'an (now hangzhou). 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. the southern song dynasty considerably bolstered its naval strength to defend its waters and land borders and to conduct maritime missions abroad. to repel the jin, and later the mongols, the song developed revolutionary new military technology augmented by the use of gunpowder. in 1234, the jin dynasty was conquered by the mongols, who took control of northern china, maintaining uneasy relations with the southern song. möngke khan, the fourth great khan of the mongol empire, died in 1259 while besieging the city of chongqing. his younger brother kublai khan was proclaimed the new great khan, though his claim was only partially recognized by the mongols in the west. in 1271, kublai khan was proclaimed the emperor of china. 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).