Captaincy of São Pedro do Rio Grande do Sul. However, part of the current state of Santa Catarina continued to belong to São Paulo until 1820, when John VI, by charter of September 9, transferred the term of the village of Lages, created in 1766, to the Captaincy of Santa Catarina. On May 9, 1748, the Captaincy of Goiás was created, to which the current Triângulo Mineiro belonged, and the Captaincy of Mato Grosso was separated from the Captaincy of São Paulo. In the same year, 1748, by the decision of the Portuguese Crown, the Captaincy of São Paulo became subordinate to the Captaincy of Rio de Janeiro. The governor of the Captaincy of Minas Gerais, Luís Diogo Lobo da Silva, on September 24, 1764, annexed the left bank of the Sapucaí River, extending the limits of Minas Gerais approximately to the current border with São Paulo. In 1765, the Captaincy of São Paulo regained its administrative autonomy. Luís António de Sousa Botelho Mourão, the third Majorat of Mateus, reinstalled the government of the captaincy and created several villages. On February 28, 1821, the captaincies became provinces. The Province of São Paulo was dismembered, on August 29, 1853, by law 704, which elevated the district of Curitiba to the category of province, with the name of Province of Paraná. It was the last time that the São Paulo territory was dismembered. With the proclamation of the republic, the province was renamed to São Paulo (state). Only in the 1920s and 1930s, were the borders of São Paulo with Paraná, Rio de Janeiro, and Minas Gerais finally established by treaties, under the governments of Washington Luís, Carlos de Campos, and Armando de Sales Oliveira. Historical Documentation There is significant official documentation about the period, spread in several institutions or projects: Arquivo Histórico Ultramarino, Brazilian National Archives, Torre do Tombo National Archive, Portuguese-Brazilian Digital Library, National Library of Brazil, Project Resgate - Barão do Rio Branco, Institute of Brazilian Studies at the University of São Paulo and Arquivo Público do Estado de São Paulo (APESP). The latter, in particular, has a diversity of textual documentation, such as instructions from the Conselho Ultramarino (Overseas Council), Royal charters, sesmarias requirements, laws, decrees, petitions, and letters, among many others, dealing with a variety of themes, such as slave flight, military campaigns, and the construction of churches, roads, and hospitals. This APESP documentary collection has been