After the battles in the south around Ponce, the Spanish took up positions in the elevated mountain passes along the Ponce--San Juan road. Generals Brooke and Wilson were sent to attack en route to the capital. By August 9, Wilson's troops had reached the area and General Ernst was able to dislodge the Spanish troops from their positions. Six Americans died and 36 were wounded at Coamo. This was followed by an attack on Aibonito, which was also heavily fortified. This battle was halted when news arrived of the peace agreement.