Rio Grande do Sul contains the administrative territorial entity Viamão
The missions were destroyed and their Guarani inhabitants were enslaved in large raids by bandeirantes between 1636 and 1638; however, in 1687, the Jesuits were back in the region, having refounded seven reductions, the Misiones Orientales. The region remained under Spanish sovereignty, though in practice the Jesuits operated quite independently as consequence of the spanish laws, up to the late 17th century. But in 1680, the Portuguese founded Colônia do Sacramento on the northern bank of the River Plate, in what is now Uruguay. War ensued and was intermittent until the independence of Uruguay in 1828.The logistics of defending Colônia against the Spanish resulted in a government effort to settle Rio Grande do Sul's coastal region with Brazilian and Portuguese colonists. In 1737, a fortified village (today the city of Rio Grande) was built at the entrance of Lagoa dos Patos. In 1752, a group of Azorean settlers founded Porto Alegre; to the west, Rio Pardo was also founded. Towards the middle of the century, Brazilians and Portuguese arrived to the west of the region, clashing with the Jesuits and the Guaranis. Up to 1756, the Guaranis fought back, under the leadership of Sepé Tiaraju, who was popularly canonized as São Sepé (Saint Sepé). However, the Portuguese and Brazilians eventually crushed the resistance, destroyed the missions, and the region came definitely into Portuguese hegemony.In 1738 the territory (which included the present state of Santa Catarina) became the Capitania d'el Rei and was made a dependency of Rio de Janeiro. Territorial disputes between Spain and Portugal led to the occupation by the Spaniards of the town of Rio Grande (then the capital of the capitania) and neighboring districts from 1763 to 1776, when they reverted to the Portuguese. The capture of Rio Grande in 1763 caused the removal of the seat of government to Viamão at the head of Lagoa dos Patos; in 1773 Porto dos Cazaes, renamed Porto Alegre, became the capital. These historic acts were planned and directed by Manuel Sepúlveda, who used the fictitious name or pseudonym José Marcelino de Figueiredo, to hide his identity. In 1801 news of war between Spain and Portugal led to the capture of the Sete Povos and some frontier posts.
In 1777, the Santo Ildefonso Treaty granted the coastal region to Portugal, and the Missões to Spain; but, in practice, both regions were populated by Portuguese and Brazilian settlers. In 1801, the Badajoz treaty handed the Misiones (Missões) to the Portuguese; only the borders between modern Uruguay and Rio Grande do Sul remained in dispute.
contains comprises includes encompasses incorporates