The city of Cholula is located just west of the state capital of Puebla and is part of its metropolitan area. The city is divided into two municipalities, called San Pedro Cholula and San Andrés Cholula, which also include a number of smaller communities that surround the city proper. The main plaza of the city is located in the municipality of San Pedro Cholula, but the Great Pyramid, located only a few blocks away, is located in San Andrés Cholula. Of the two sub-divisions, San Andrés is more residential and has the higher indigenous population. The city as a whole is officially called the Distrito Cholula de Rivadavia. It was created in 1895 and named in honor of Bernardino de Rivadavia.