Evolution of religious-state relations