Context: Being one of the four ancient capitals of China, Nanjing has always been a cultural centre attracting intellectuals from all over the country. In the Tang and Song dynasties, Nanjing was a place where poets gathered and composed poems reminiscent of its luxurious past; during the Ming and Qing dynasties, the city was the official imperial examination centre (Jiangnan Examination Hall) for the Jiangnan region, again acting as a hub where different thoughts and opinions converged and thrived.

Question: How many ancient capitals does China have in its history?
Answer: four

Question: What type of people does Nanjing draw because of its culture?
Answer: intellectuals

Question: In what dynasties did poets congregate in Nanjing?
Answer: the Tang and Song dynasties

Question: When did the city serve as the official imperial examination centre?
Answer: the Ming and Qing dynasties

Question: What was the name of the examination centre?
Answer: Jiangnan Examination Hall