Ramsay, the officer commanding the evacuation, received the signal "BEF evacuated"; the French began to fall back slowly. By 3 June, the Germans were from Dunkirk and at on 4 June, the Germans hoisted the swastika over the docks. Before Operation Dynamo, were embarked from Dunkirk; most of the remaining a total of troops along with and some Belgian troops, were evacuated from Dunkirk between 26 May and 4 June, though having to abandon much of their equipment, vehicles and heavy weapons. After Dunkirk Lines-of-communication Allied forces north of the Somme were cut off by the German advance on the night of which isolated the BEF from its supply of Cherbourg, Brittany and Nantes. Dieppe was the main BEF medical base and Le Havre the principal supply and ordnance source. The main BEF ammunition depot and its infantry, machine-gun and base depots were around Rouen, Évreux and Épinay. Three Territorial divisions and three lines-of-communication battalions had been moved north of the Seine on 17 May. Rail movements between these bases and the Somme was impeded by German bombing and trains arriving from the north full of Belgian and French troops; the roads also filled with retreating troops and refugees. Acting Brigadier Archibald Beauman lost contact with BEF GHQ. Beauman improvised Beauforce from two infantry battalions, four machine-gun platoons and a company of Royal Engineers. Vicforce (Colonel C. E. Vickary) took over five provisional battalions from troops in base depots, who had few arms and little equipment. The Germans captured Amiens on 20 May, setting off panic and the spread of alarmist reports. Beauman ordered the digging of a defence line along the Andelle and Béthune to protect Dieppe and Rouen. From the 51st Highland Division (formerly Saar Force) a Composite Regiment and the remnants of the 1st Support Group, 1st Armoured Division, relieved the French opposite the Abbeville–St Valery bridgehead. The Beauman Division held a line from Pont St Pierre, south-east of Rouen to Dieppe on the coast, which left the British units holding of the front line, of the Bresle and of the Andelle–Béthune line, with the rest of IX Corps on the right flank. Second BEF On 31 May, GHQ BEF closed and 2 June, Brooke visited the War Office and was given command of a new II Corps, comprising the 51st (Highland) Infantry Division and the 1st Armoured Division, with the 52nd (Lowland) Infantry Division and the