Original: As of the 2002 census the municipality had 35,654 inhabitants , 16,270 living in the city itself and 19,384 in its rural districts , making the urban population the 45.63 % of the total population .
Simplified: In 1854 , the town was elevated to the category Military Post and in 1858 it became a municipality of the Santiago province .