Title: Yan (state)
Content:   Yan (Old Chinese pronunciation: *) was an ancient Chinese state during the Zhou dynasty. Its capital was Ji (later known as Yanjing and now Beijing). During the Warring States period, the court was also moved to another capital at Xiadu at times. The history of Yan began in the Western Zhou in the early first millennium BC. After the authority of the Zhou king declined during the Spring and Autumn period in the 8th century BC, Yan survived and became one of the strongest states in China. During the Warring States period from the 5th to 3rd centuries BC, Yan was one of the last states to 
Title: Yanun
Content:  Yanun (يانون) is a Palestinian village in the Nablus Governorate in northern West Bank, located 12 km southeast of Nablus, and 3 miles north of Aqraba. It lies within Area C, under total Israeli control, of the West Bank. It is divided into two sites, upper and lower Yanun. Upper or northern Yanin is considered illegal by the Israeli authorities, and development is prohibited there. According to the Palestinian Central Bureau of Statistics (PCBS), the village had a population of 102 in 2007. This was a decrease from 2004 when the PCBS recorded that Yanun had 145 inhabitants. The residents of the village have to travel to Beit Furik for primary health care.
Title: Yan (state)
Content:  offerings to the King of Zhou in present-day Xi'an and was awarded a position in the king's court. Some time during the 7th century BC in the late Western Zhou or early Eastern Zhou, Yan absorbed the State of Ji, a smaller kingdom to the north and moved its capital to that of Ji in modern-day Xicheng District, Beijing. To the south, the bordering states of Zhao and Qi were Yan's main rivals. The mountainous border in the west between Zhao and Yan became the area in which their armies often clashed. Despite this, the war between Zhao and Yan usually 
Title: Yan'an
Content:  Yan'an is located in northern Shaanxi on the Loess Plateau, with a latitude spanning from 35°21′ to 37°31′ N, and a longitude spanning from 107°41′ t0 110°31′ E. The city is bordered by Yulin to the north, Xianyang, Tongchuan, and Weinan in the Guanzhong region to the south, Linfen and Lüliang of Shanxi to the east across the Yellow River, and Qingyang of Gansu to the west across the Ziwu Ridge. The city's elevation is hilly, and is higher in the northwest, and lower in the southeast, ranging from 388 m to 1809 m above sea level in elevation. The average elevation of Yan'an is approximately 1000 m, and Yan'an's urban core has an 
Title: Yan (state)
Content:  Yan is represented by the star Zeta Capricorni in the "Twelve States" asterism, part of the lunar mansion "Girl" in the "Black Tortoise" symbol. Yan is also represented by the star Nu Ophiuchi in the "Left Wall" asterism in the "Heavenly Market" enclosure.
Title: Yanji
Content:  Yanji (Chosŏn'gŭl: 연길, Yeon-gil; Hangul: 옌지, Yenji; alternately romanized as Yenki) is a county-level city in the east of China's Jilin Province, and is the seat of the Yanbian Korean Autonomous Prefecture. Its population is approximately 400,000 of which a large portion is ethnic Korean. Yanji is a busy hub of transport and trade between China and North Korea. The city is home to Yanbian University, a comprehensive university and the only Project 211 university in Yanji.
Title: Yankan
Content:  Yankan is located 140 km south of Tynda (the district's administrative centre) by road. Solovyovsk is the nearest rural locality.
Title: Yanam
Content:  Yanam (French: Yanaon) is a town located in the district of East Godavari in Andhra Pradesh and is part of the Union Territory of Pondicherry. It has a population of 35,000, most of whom speak Telugu. It was formerly a French colony for nearly 200 years, and, though united with India in 1954, is still sometimes known as "French Yanam". It possesses a blend of French culture and the Telugu culture prevailing in Andhra Pradesh, nicknamed Frelugu. During French rule, the Tuesday market (Marché du mardi or Mangalavaram Santa) at Yanam was popular among the Telugu people in the Madras Presidency, who visited Yanam to buy foreign and smuggled goods during Yanam People's Festival held in January. After implementation of the Child Marriage Restraint Act, 1929 in British India, Telugu people often traveled to Yanam to conduct child marriages, which remained legal under the French administration.
Title: Yandian, Yanzhou
Content:  Yandian is a town under the administration of Yanzhou City in southwestern Shandong province, China, located about 12 km west of downtown Yanzhou. , it has 66 villages under its administration.
Title: Yanya, Shandong
Content: Yanya was also the Ottoman Turkish name of Ioannina  Yanya is a town in  Yiyuan County in the highlands of central Shandong province, China, 9 km south of the county seat. , it has 46 villages under its administration.

Question: What is the capital of Yan?
Answer: Yanjing.
Ji.