It later became anti-imperialist but maintained a religious viewpoint.