Coicoyan de Las Flores is a town and municipality in Oaxaca in south-western Mexico.
The municipality covers an area of 105.89 km² and is part of the Juxtlahuaca district of the Mixteca Region.
There,a Spanish force threatened general Vicente Guerrero who was in Ahuajutla's ranch helping his troops by using the metals from the mines of carbonera to coin money (from gold, copper and silver).
He stayed and waited until the perfect opportunity arrived to attack the Spaniards in Azompa, taking advantage of darkness and letting them to destroy themselves.
The next morning when they realized what had happened, they were shocked so the general Vicente Guerrero attacked them again and achieved victory, taking some prisoners with him to Xonacatlan camp where he had some other forces.