The central issue that had drawn Spain and the United States into war Cuba 's struggle for independence was resolved in that island 's Cuba 's freedom was guaranteed by the Paris Treaty of 1898 .
Outside countries had gotten involved in Cuban affairs .