Historiography is the study of how history is written. One pervasive influence upon the writing of history has been nationalism, a set of beliefs about political legitimacy and cultural identity. Nationalism has provided a significant framework for historical writing in Europe and in those former colonies influenced by Europe since the nineteenth century.