GUANGZHOU, China — It was 1926, not long after the fall of the Qing dynasty, and much of China had been divided among warlords. In the south, leaders of the young Kuomintang mustered an army. At its head rode Chiang Kai-shek, who called to his side officers he had helped train, and together they marched north to take down the warlords, one by one.

The Northern Expedition was one of the first major tests for graduates of the Whampoa Military Academy, founded just two years earlier on quiet Changzhou Island, about 10 miles east of central Guangzhou, then known to the West as Canton. Mr. Chiang was the academy’s first commandant, appointed by Sun Yat-sen, the idealistic firebrand who wanted to build an army that would unite China.

The academy, now a collection of two-story white buildings near an active naval yard, stands as one of the most potent symbols of the nationalist movement led by Mr. Sun, which has strong contemporary echoes in the rallying cry that Xi Jinping made to his fellow Chinese after taking over in November as general secretary of the Communist Party.

Mr. Xi has spoken of a “great revival of the Chinese nation,” apparently to be accomplished through further opening the economy, tackling official corruption and building up the military. This month, on his first trip outside Beijing, Mr. Xi traveled to several cities here in Guangdong Province; the tour included visits with senior officers of the People’s Liberation Army and a photo opportunity on a naval destroyer. Though he did not visit the Whampoa academy, the message Mr. Xi was telegraphing was the same one Mr. Sun had relayed a century ago.