The following day, on 7 November 1894 Nogi marched into the port town of Dalian with no resistance, as its defenders had fled to Lüshunkou the previous night. The intact capture of the dock facilities greatly facilitated Japanese supply lines, as in their haste to depart, the defenders had even left behind plans to the minefields and details to the defenses of Lüshunkou. To make matters worse for the defenders of Lüshunkou, the Beiyang Fleet had received orders from Viceroy Li Hongzhang (based in Tianjin) to withdraw to Weihaiwei rather than risk engagement with the Imperial Japanese Navy, and was thus not able to play any role in the defense of their base. Worse still, when withdrawing from Lüshunkou, the flagship of the Beiyang Fleet, the battleship , struck rocks at the entrance of Weihaiwei harbor and had to be beached. As the only docks capable of making repairs were at Lüshunkou, this effectively put it out of commission for the remainder of the war.