National god

National gods are a class of guardian divinities or deities whose special concern is the safety and well-being of an ethnic group ("nation"), and of that group's leaders. This is contrasted with other guardian figures such as family gods responsible for the well-being of individual clans or professions, or personal gods who are responsible for the well-being of individuals. 
Ancient gods.
In antiquity (and to some extent continuing today), religion was a characteristic of regional culture, together with language, customs, traditions, etc. Many of these ethnic religions included national god(s) in their pantheons, such as 
In antiquity.
In antiquity, each ethnic group ("nation") had its own pantheon, which may or may not have overlapped with that of neighbouring groups. Many of these religions had guardian figures, which then sometimes included national gods, who were considered responsible for the safety and well-being of the nation and of its people, with a special concern for the nation's ruler and guardian. These national gods stood alongside the personal gods (that is, the patron gods who took a special interest in an individual's personal well-being). Additionally, there were the family gods associated with the care of a clan or profession, as well as gods associated with specific situations or the protection thereof (fertility, health, war, contracts and so on).
This perception of divinity was common in the ancient world. Deities were often geographically localized by association to their main cult centers, and in the Ancient Near East were often tutelary deities of their respective city-states. Many of the individual ethnic groups also considered itself the progeny of its national gods. For example, in the region that is now Yemen, the Sabaeans, the Minaeans and the Himyar each perceived themselves to be the children of respectively Almaqah, Wadd and Shamash. Similarly, in Canaan, Milcom held that role for the Ammonites, while Chemosh did so for the Moab.
Yahweh's role as God of the Judaeans and Samarians is a key reason for that figure's adoption as the monist figure by the Yahweh-only movement of the 7th-century BC. Yahweh's subsequent exaltation as a supreme figure occurred not because national gods were necessarily heads of their pantheons (this was certainly not the case for the national gods of the peoples surrounding Israel), but as a reaction to the changing political landscape, in which other national gods had previously become exalted in that fashion. Because peoples were perceived to effectively worship the same gods, merely by different names (Smith (2008) terms this "translatability"), Yahweh's function as a national god had previously automatically equated him with other national gods. Thus, with the rise of the multi-cultural Assyrian Empire in the 10th century BC, the concomitant rise of the Assyrian's nation god Assur to inter-cultural prominence influenced how national gods were generally perceived. Moreover, the political unification of the fractured nation-states under a single supreme head of state encouraged the idea of a multi-national "one-god" worldview as well. By the 7th-century BC however, Assyria was in decline and the smaller nation-states began to reassert their independence. In this context, the development of a "one-god" worldview in 7th century BC Kingdom of Judah can be perceived as a response to the diminishing claims to cultural hegemony of the Assyrian "one-god" ideology of the time. The process is evident in some parts of the Torah which predate the 6th century BC and thus preserve vestiges of the theology centered on a national god during the 10th-century BC monarchic period. "The OT is still conscious of the fact that Yhwh, the national god of Israel, originally was one of the gods in the council of El." ("Deut" 32:8-9*)
Modern period.
Philippine.
In search of a national culture and identity, away from those imposed by Spain during the 300-year Spanish-Christian colonial age, Filipino revolutionaries during the Philippine revolution proposed to revive the indigenous Philippine folk religions and make them the national religion of the entire country. The Katipunan opposed the religious teachings of the Spanish friars, saying that they "obscured rather than explained religious truths." After the revival of the Katipunan during the Spanish–American War, an idealized form of the folk religions was proposed by some, with the worship of God under the ancient name of Bathala, which applies to all supreme deities under the many ethnic pantheons in the Philippines. However, the re-vitalization process of the indigenous faiths of the Philippines did not progress further as the Filipino forces were defeated by the Americans in 1902, which led to the second Christian colonization of the archipelago.
Christianity.
Christian missionaries have repeatedly re-interpreted national gods in terms of the Christian God. This fact is reflected in the names of God in various languages of Christianized peoples, such as Shangdi or Shen among Chinese Christians, Ngai among a number of tribes of Kenya, etc.
In a modern context, the term of a "national god" addresses the emergence of national churches within Christianity. This tendency of "nationalizing" the Christian God, especially in the context of national churches sanctioning warfare against other Christian nations during World War I, was denounced as heretical by Karl Barth.
Germanic.
Carl Jung in his essay "Wotan" (1936) identifies the Germanic god of the storm (leader of the Wild Hunt), Wotan, as the national god of the German people, and warns of the rise of German nationalism and ultimately the then-impending catastrophe of Nazism and World War II in terms of the re-awakening of this god: