on july 2, the second day of battle, anderson's division attacked near the union center, following on from attacks by longstreet (the divisions of maj. gens. john b. hood and mclaws) to his right. anderson's right was successful attacking union brig. gen. andrew a. humphreys's iii corps division along the emmitsburg road. his center, under ambrose r. wright, penetrated the lightly defended cemetery ridge. carnot posey moved haltingly and william mahone did not move from seminary ridge at all. union reinforcements rushed to counter wright and he was repulsed. anderson was criticized for his command during this day of battle. he had little effective control of his brigades. on july 3, anderson's brigades participated in the waning minutes of pickett's charge, but both were driven back.