In 1894, when the Japanese invaded Korea and the situation became dire, Empress Dowager Cixi summoned Prince Gong back to the imperial court, placed him in charge of the Zongli Yamen again, and tasked him with supervising the Beiyang Fleet (the Qing navy) and military affairs.