The treaty was considered a triumph of American diplomacy. It came at a time of increasing difficulties related to Spain's territorial boundaries in North America. This was with both the United States and Great Britain following the American Revolution. There were also tensions during the Latin American Wars of Independence. Florida had become a problem for Spain. It could not afford to send settlers or garrisons. 