In the evening of 16 July, the South Africans withdrew south of Prince's Street and east of Strand Street, for a bombardment on the north-west corner of the wood and the north end of Longueval. On 17 July, the 27th Brigade attacked northwards in Longueval and the 2nd South African Battalion plus two companies of the 1st Battalion, attacked westwards in the wood. The South African attack was a costly failure and the survivors were driven back to their original positions, which came under increased German artillery-fire in the afternoon. In the evening Tanner was wounded and replaced by Lieutenant-Colonel E. F. Thackeray, of the 3rd Battalion, as commander in Delville Wood. The 9th Division drew in its left flank and the 3rd Division (Major-General J. A. L. Haldane), was ordered to attack Longueval from the west during the night. Huge numbers of shells were fired into the wood and Lukin ordered the men into the north-western sector, to support the attack on Longueval due at During the night, the German 3rd Guards Division advanced behind a creeping barrage of guns and over guns. The Germans reached Buchanan and Princes streets, driving the South Africans back from their forward trenches, with many casualties.