how did the expansion of the Russian empire affect the ethnic and religious makeup of the region