Historical influences on religion