sentences:  The municipality had a population of 8,820 inhabitants according to the 2005 census.Its municipal seat is the city of the same name.The economy of the municipality is mostly based on agriculture and ranching.