Uruguay gained independence from Brazil in 1825 after the Cisplatine War, not from Spain. Brazil controlled Uruguay (then called Cisplatina) from 1821-1825 after taking it from Spain. Uruguay was originally Spanish but directly independent from Brazil.