Carapicuíba (.mw-parser-output .IPA-label-small{font-size:85%}.mw-parser-output .references .IPA-label-small,.mw-parser-output .infobox .IPA-label-small,.mw-parser-output .navbox .IPA-label-small{font-size:100%}Portuguese pronunciation: [kaɾapikuˈibɐ]) is a municipality in the state of São Paulo in Brazil. It is part of the Metropolitan Region of São Paulo.[3] The population is 403,183 (2020 est.) in an area of 34.55 square kilometres (13.34 sq mi).[4] It is one of the most densely populated municipalities in the state of São Paulo. Before the first white man arrived, the region which today is Carapicuíba was inhabited by indigenous people. The hamlet was founded by José de Anchieta. Afonso Sardinha settled there with his farm with the will to use the indigenous people as a workforce. He then built a chapel. The indigenous people soon reacted to the European occupation, and rushed into the jungle. By the 17th century, it was part of the recently created municipality of Santana do Parnaíba. Nothing much has changed in the hamlet during this century and most of the 18th century.