Huitzilopochtli was a deity of war, sun, human sacrifice and the patron of the city of Tenochtitlan. He was also the national god of the Mexicas, also known as Aztecs, of Tenochtitlan. Many in the pantheon of deities of the Aztecs were inclined to have a fondness for a particular aspect of warfare. However, Huitzilopochtli was known as the primary god of war in ancient Mexico. Since he was the patron god of the Mexica, he was credited with both the victories and defeats that the Mexica people had on the battlefield. The people had to make sacrifices to him to protect the Aztecs from infinite night. The defeat of a patron deity meant the defeat of his people, thus they were concerned with providing exquisite tribute and food for him. Not only was it important for him to survive his battles, but the fate of the Mexican people would have rested in the victory of Huitzilopochtli. He wielded Xiuhcoatl as a weapon, associating him with fire.