The United States took control of Puerto Rico from Spain in the aftermath of the Spanish-American War under the terms of the Treaty of Paris of 1898 and conducted its first census of Puerto Rico, finding that the population of Barranquitas was 8,103.