Republicanism is the ideology of governing a nation as a republic, where the head of state is appointed by means other than heredity, often elections. The exact meaning of republicanism varies depending on the cultural and historical context. The sometimes contrary definitions are all covered in this article.