structural:expansion, information:filtering, structural:reformatting, stylistic:style_transfer, linguistic:paraphrasing
Metropolitan areas and urban agglomerations

The Metropolitan Region of São Paulo (RMSP), also known as Greater São Paulo, was established by federal complementary law nº 14 of 1973 and is made up of 39 municipalities in São Paulo, some of them in conurbations with a core city, São Paulo, forming a large continuous urban spot. It is the most populous metropolitan region in Brazil and one of the largest in the world, with an estimated population of approximately 21 million inhabitants in 2022, almost half of the state's population. It is in the RMSP that the municipalities with the highest population density in the state of São Paulo are found: Taboão da Serra (13.416 inhabitants/km), Diadema (12.795 inhabitants/km), Osasco (11.445 inhab./km), Carapicuíba (11.205 inhab./km), São Caetano do Sul (10.805 inhab./km), and São Paulo (7.527 inhab./km).