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.
title: Fittja gård
paragraph_text: Fittja gård is a former manor, coaching inn and station for post riders in Fittja, Botkyrka Municipality, Stockholm County, east-central Sweden. Fittja Värdshus, attached to it, was one of the largest travellers' hostels in Sweden during the 17th and 18th centuries. From 1660 to 1916 the Tingsrätt (district court) for the Svartlösa Hundred was located on the estate, and the present Fittja gård dates to 1812. According to the Stockholm County Museum, the buildings are well-preserved and valued as a cultural heritage. Fittja gård is the headquarters of a "mångkulturellt centrum" (multicultural centre) founded in 1987.
title: Nanjing
paragraph_text: Shortly after the unification of the region, the Western Jin dynasty collapsed. 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. 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. It's the first time that the capital of the nation moved to southern part.
title: Warsaw
paragraph_text: The first historical reference to Warsaw dates back to the year 1313, at a time when Kraków served as the Polish capital city. Due to its central location between the Polish–Lithuanian Commonwealth's capitals of Kraków and Vilnius, Warsaw became the capital of the Commonwealth and of the Crown of the Kingdom of Poland when King Sigismund III Vasa moved his court from Kraków to Warsaw in 1596. After the Third Partition of Poland in 1795, Warsaw was incorporated into the Kingdom of Prussia. In 1806 during the Napoleonic Wars, the city became the official capital of the Grand Duchy of Warsaw, a puppet state of the First French Empire established by Napoleon Bonaparte. In accordance with the decisions of the Congress of Vienna, the Russian Empire annexed Warsaw in 1815 and it became part of the "Congress Kingdom". Only in 1918 did it regain independence from the foreign rule and emerge as a new capital of the independent Republic of Poland. The German invasion in 1939, the massacre of the Jewish population and deportations to concentration camps led to the uprising in the Warsaw ghetto in 1943 and to the major and devastating Warsaw Uprising between August and October 1944. Warsaw gained the title of the "Phoenix City" because it has survived many wars, conflicts and invasions throughout its long history. Most notably, the city required painstaking rebuilding after the extensive damage it suffered in World War II, which destroyed 85% of its buildings. On 9 November 1940, the city was awarded Poland's highest military decoration for heroism, the Virtuti Militari, during the Siege of Warsaw (1939).
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: Abuja
paragraph_text: Abuja (/ əˈbuːdʒə /) is the capital city of Nigeria located in the centre of the country within the Federal Capital Territory (FCT). It is a planned city and was built mainly in the 1980s, replacing the country's most populous city of Lagos as the capital on 12 December 1991. Abuja's geography is defined by Aso Rock, a 400 - metre (1,300 ft) monolith left by water erosion. The Presidential Complex, National Assembly, Supreme Court and much of the city extend to the south of the rock. Zuma Rock, a 792 - metre (2,598 ft) monolith, lies just north of the city on the road to Kaduna State.
title: Duke Xian of Jin
paragraph_text: Duke Xian of Jin (, died 651 BC), ancestral name Ji (姬), given name Guizhu (詭諸), was the nineteenth ruler of the State of Jin. He was also the ninth ruler of Jin in the Spring and Autumn period and the second duke of Jin. When his father, Duke Wu of Jin, died in 677 BC, Guizhu ascended the throne of Jin and became Duke Xian of Jin. He reigned for 26 years. He moved the capital from Quwo (曲沃) to Jiang (絳). He was named after a Rongdi tribe (戎狄族) leader Guizhu (詭諸) whom his father, Duke Wu of Jin, captured alive.
title: Song dynasty
paragraph_text: 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).
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: Capital punishment in Russia
paragraph_text: Capital punishment in Russia currently is not allowed. There exists both an implicit moratorium established by President Boris Yeltsin in 1996, and an explicit one, established by the Constitutional Court of Russia in 1999 and most recently reaffirmed in 2009. Russia has not executed anyone since 1996.
title: Warsaw
paragraph_text: In 1529, Warsaw for the first time became the seat of the General Sejm, permanent from 1569. In 1573 the city gave its name to the Warsaw Confederation, formally establishing religious freedom in the Polish–Lithuanian Commonwealth. Due to its central location between the Commonwealth's capitals of Kraków and Vilnius, Warsaw became the capital of the Commonwealth and the Crown of the Kingdom of Poland when King Sigismund III Vasa moved his court from Kraków to Warsaw in 1596. In the following years the town expanded towards the suburbs. Several private independent districts were established, the property of aristocrats and the gentry, which were ruled by their own laws. Three times between 1655–1658 the city was under siege and three times it was taken and pillaged by the Swedish, Brandenburgian and Transylvanian forces.
title: Supreme Court of California
paragraph_text: Supreme Court of California Seal of the Supreme Court of California Established 1849 Country United States Location San Francisco (Headquarters) Sacramento Los Angeles Authorized by California Constitution Decisions are appealed to Supreme Court of the United States Judge term length 12 years No. of positions 7 Website Official website Chief Justice Currently Tani Cantil - Sakauye Since January 3, 2011 Lead position ends January 2, 2023
title: Federal Shariat Court
paragraph_text: The Federal Shariat Court of Pakistan, abbreviated as FSC, is a prestigious court which has the power to examine and determine whether the laws of the country comply with Islamic Shari'a law. This court was set up in 1980 and is located in the federal capital, Islamabad.
title: Lae War Cemetery
paragraph_text: The Lae War Cemetery, established in 1944, is located adjacent to the Botanical Gardens in the centre of the city of Lae, the capital of Morobe Province, in Papua New Guinea. The cemetery is managed by the Commonwealth War Graves Commission.
title: Zhejiang
paragraph_text: At the beginning of the Three Kingdoms era (220–280 CE), Zhejiang was home to the warlords Yan Baihu and Wang Lang prior to their defeat by Sun Ce and Sun Quan, who eventually established the Kingdom of Wu. Despite the removal of their court from Kuaiji to Jianye (present-day Nanjing), they continued development of the region and benefitted from influxes of refugees fleeing the turmoil in northern China. Industrial kilns were established and trade reached as far as Manchuria and Funan (south Vietnam).
title: United States Bankruptcy Court for the Southern District of New York
paragraph_text: The United States Bankruptcy Court for the Southern District of New York is the United States bankruptcy court within the United States District Court for the Southern District of New York. The Southern District of New York is a major venue for bankruptcy, as it has jurisdiction over the corporate headquarters and major financial institutions located in Manhattan.
title: Richmond, Virginia
paragraph_text: In 1775, Patrick Henry delivered his famous "Give me Liberty or Give me Death" speech in St. John's Church in Richmond, crucial for deciding Virginia's participation in the First Continental Congress and setting the course for revolution and independence. On April 18, 1780, the state capital was moved from the colonial capital of Williamsburg to Richmond, to provide a more centralized location for Virginia's increasing westerly population, as well as to isolate the capital from British attack. The latter motive proved to be in vain, and in 1781, under the command of Benedict Arnold, Richmond was burned by British troops, causing Governor Thomas Jefferson to flee as the Virginia militia, led by Sampson Mathews, defended the city.
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: Liu Shouguang
paragraph_text: Liu Shouguang (劉守光) (died February 12, 914) was a warlord early in the Chinese Five Dynasties and Ten Kingdoms period who controlled Lulong (盧龍, headquartered in modern Beijing) and Yichang (義昌, headquartered in modern Cangzhou, Hebei) Circuits, after seizing control from his father Liu Rengong and defeating his brother Liu Shouwen. He claimed the title of Emperor of Yan in 911, but was subsequently defeated and executed by Li Cunxu the Prince of Jin, who absorbed Yan into his Jin state.
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.

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?

Question decomposition:
question: Yaxing Coach >> headquarters location
answer: Yangzhou
question: Where did the Jin court re-establish itself, after fleeing?
answer: Nanjing
question: How long had #2 been the capital city of #1 ?
answer: about 400 years

Answer: about 400 years