[3] The brothers Joaquim, José and Luiz Teixeira de Barros, who came from Itu, bought the Pinheiros Sesmaria where São Pedro is today.
The Picadão, a road that led from São Paulo to Cuiabá, passed through this same area and where the historic center is today was the so-called Pouso do Pidadão, which was looked after by the cattle driver Floriano de Costa Pereira, known as Florianão.
In 1879, the Baron of Iguape, Captain Veríssimo Antônio da Silva Prado, who settled here as a farmer, managed to raise the status of a town.
Later, in 1881, he managed to separate Piracicaba from the city and, in 1882, to the district, and the first judge, João Baptista Pinto de Toledo, arrived.
During this coffee period, the Santa Casa de Misericórdia, cemetery, school, jail, city hall and chamber were established, in addition to the main church.