In 1769 the Spanish took 22 Wayuus captive, in order to put them to work building the fortifications of Cartagena. The reaction of the Wayuus was unexpected. On 2 May 1769, at El Rincón, near Riohacha, they set their village afire, burning the church and two Spaniards who had taken refuge in it. They also captured the priest. The Spanish immediately dispatched an expedition from El Rincón to capture the Wayuus. At the head of this force was José Antonio de Sierra, a mestizo who had also headed the party that had taken the 22 Guajiro captives. The Guajiros recognized him and forced his party to take refuge in the house of the curate, which they then set afire. Sierra and eight of his men were killed. This success was soon known in other Guajiro areas, and more men joined the revolt. According to Messía, at the peak there were 20,000 Wayuus under arms. Many had firearms acquired from English and Dutch smugglers, sometimes even from the Spanish. This enabled the rebels to take nearly all the settlements of the region, which they burned. According to the authorities, more than 100 Spaniards were killed and many others taken prisoner. Many cattle were also taken by the rebels. The Spaniards took refuge in Riohacha and sent urgent messages to Maracaibo, Valledupar, Santa Marta and Cartagena, the latter responding by sending 100 troops. The rebels themselves were not unified. Sierra's relatives among the Indians took up arms against the rebels to avenge his death. A battle between the two groups of Wayuus was fought at La Soledad. That and the arrival of the Spanish reinforcements caused the rebellion to fade away, but not before the Guajiro had regained much territory.
Question: What did the Guajiro ultimately take away from the spansish?
Answer: territory