In 1522, Carlos II formally recognized Cortes as governor of New Spain, thus ending Velázquez's claims to the newly conquered territory. In 1523, Cortés made Cristobal de Olid the leader of an expedition to conquer Honduras. While resupplying in Havana, Olid conspired with Velázquez and they agreed that Olid would renounce Cortez and capture Honduras on behalf of Velázquez. When Cortes heard of this plot, he wrote a letter of protest to the king and then dispatched his agents to Honduras where they eventually killed Olid.