Various indigenous tribes populated the arid plains of the region long before the Spanish expeditions reached the Americas. In 1498, Alonso de Ojeda sailed around the peninsula of La Guajira, but the first European to set foot in what is known today as La Guajira was the Spanish explorer Juan de la Cosa in 1499. During the colonial era, the territory of La Guajira was disputed by the governors of Santa Marta and Venezuela, owing to deposits of pearls. English pirates, Frenchmen, and Germans also fought for control of the territory.