Colonial Times
According to the Treaty of Tordesillas, the Portuguese laid claim to the territory of present-day Brazil discovered at the end of the 15th century. France, however, did not recognize the treaty and in 1555 founded Fort Coligny on the Ilha do Serigipe off the coast of present-day Rio de Janeiro under Vice Admiral de Villegagnon; the territory controlled from here was named France Antarctique. On the opposite coast, de Villegagnon then founded the settlement of Henriville. At that time, Tupi Indians of the Tamoios and Tupinambás tribes, with whom the French allied themselves, lived in this region. It was not until ten years later, in 1565, that the French were driven from there by the Portuguese, who then founded the city of São Sebastião do Rio de Janeiro on March 1, 1565, at what is now Morro do Castelo.
In 1680, Rio de Janeiro became the capital of the southern regions of Brazil; at that time, the settlement was one of the most important Portuguese bases on Brazilian territory, with a population of around 4,000. Since 1700, Rio de Janeiro developed into the most important port city in Brazil, mainly triggered by gold discoveries in the neighboring region of Minas Gerais.
Although the city was attacked and occupied by the French in 1710/1711 (→ Battle of Rio de Janeiro) and was only able to obtain the withdrawal of the French for a large ransom, it recovered rapidly in the following years and became the capital of the Viceroyalty of Brazil on 27 January 1763.
Rio de Janeiro experienced a significant further increase in importance in 1808, when the Portuguese court fled there in connection with the French invasions to escape Napoleon's forces marching on Lisbon. Along with the court, a large number of artists, scientists and nobles moved to Brazil, and the city's economic and cultural life underwent an enormous transformation. The Brazilian National Library, for example, traces its origins to the holdings brought by the Portuguese royal family. In 1815, Rio de Janeiro became the capital of the United Kingdom of Portugal, Brazil and the Algarves.
In the course of this, many colonial restrictions were lifted, which greatly promoted economic development and triggered a population explosion that lasted until the 1980s. Within just under a hundred years, the population had risen to over 500,000 inhabitants (1891) and reached approximately five million by 1980.
In the early 19th century, Rio became a transshipment point for the African slave trade in South America. About 900,000 slaves reached the continent via the Valongo wharf in the city center, which was started in 1811.
Independence
The Portuguese royal court returned to Portugal in 1822, as a result of the Liberal Revolution that broke out in Portugal in 1820. After the departure of the Portuguese court, Brazil declared itself the independent Empire of Brazil under Prince Dom Pedro de Alcântara. Rio de Janeiro retained the status of capital, where the prince now resided as Emperor Pedro I. Due to succession disputes in Portugal and domestic political problems in Brazil, he abdicated in 1831, leaving his underage son behind. He ascended the throne as Dom Pedro II in 1840. Among other things, he initiated the construction of a railway, the first section of which was opened in Rio de Janeiro in 1858, followed by the Companhia Ferro-Carril de São Cristóvão in 1873.
Even when Brazil became a republic in 1889 following a military coup, Rio de Janeiro remained the capital. In the first half of the 20th century, Rio de Janeiro experienced a social flourishing, as the city became a destination for movie stars and international high society. Some Portuguese writers, such as the writer and translator Jorge de Sena, sought refuge in Rio de Janeiro from the "Estado Novo" authoritarian dictatorship in Portugal founded by António de Oliveira Salazar. A final cultural outgrowth of this era was the emergence of Brazilian jazz bossa nova from 1957 onwards, which became world famous through songs such as Garota de Ipanema/The Girl from Ipanema by Antônio Carlos Jobim and Vinícius de Moraes.
Due to the emergence of mass tourism in the second half of the 20th century, the image of the districts close to the beach in particular has changed considerably, which today is characterised above all by numerous hotels, while the districts further away from the sea have been characterised above all by increasing slumming, known as favelas.
In 1960, Rio de Janeiro lost its status as capital to the newly built city of Brasília under Juscelino Kubitschek. At the same time, the city became an independent city-state of Guanabara, which was merged with the state of Rio de Janeiro in 1975. The city became the capital of the new state. The city gained international political attention again in 1992, when the UN Environment Summit was held there.
As a venue for the 2014 World Cup and as host of the 2016 Summer Olympics, the city once again attracted the world's attention, but after that it was only able to stay afloat financially with the help of the federal government.