 He had 5000 men, mostly recruited from Cajamarca, who had been trained and armed by him at his own expense to defend Lima.After the Peruvian Second Division had been forced to retreat from San Juan, the battle for Lima became concentrated on the Morro Solar.The first Chilean assault on the hill was repulsed but Chilean reinforcements and artillery were then brought up.