Teacher:In this task, you're given passages that contain mentions of places and we are supposed to find the answer to a given question. Craft one correct answer to the question given in input. Make sure your correct answer is consistent with the context, and properly gives the exact location where the query was performed.
 In your answer, use as few words as possible from the given context. To be less repetitive, please vary your language for each question.
Teacher: Now, understand the problem? Solve this instance: Sentence: Throughout the following month, the Yongle Emperor and his court showered the Karmapa with presents. At Linggu Temple in Nanjing, he presided over the religious ceremonies for the Yongle Emperor's deceased parents, while twenty-two days of his stay were marked by religious miracles that were recorded in five languages on a gigantic scroll that bore the Emperor's seal. During his stay in Nanjing, Deshin Shekpa was bestowed the title "Great Treasure Prince of Dharma" by the Yongle Emperor. Elliot Sperling asserts that the Yongle Emperor, in bestowing Deshin Shekpa with the title of "King" and praising his mystical abilities and miracles, was trying to build an alliance with the Karmapa as the Mongols had with the Sakya lamas, but Deshin Shekpa rejected the Yongle Emperor's offer. In fact, this was the same title that Kublai Khan had offered the Sakya Phagpa lama, but Deshin Shekpa persuaded the Yongle Emperor to grant the title to religious leaders of other Tibetan Buddhist sects. 
Question: Where was the Linggu Temple located?
Student:
Nanjing