Guozijian were located in the national capital of each dynasty, such as Chang'an, Luoyang, Kaifeng and Hangzhou. In early years of Ming, Guozijian was in Nanjing, and then there were two capitals, thus there were two Guozijian, one in Nanjing (later become Nanjing University) and one in Beijing. During the Qing dynasty, Guozijian was in Beijing.