The United Kingdom of Portugal, Brazil and the Algarves conquered the southern part in 1817 and renamed it the Província Cisplatina. By the mid-1820s, the Thirty-Three Orientals led a revolution against its successor state (the Brazilian Empire), igniting the Cisplatine War. At its conclusion, in 1828, the former Provincia Oriental was declared an independent state, Uruguay, by the Treaty of Montevideo. Uruguaiana remained with Brazil.