  when the soviet union was established by the bolsheviks in 1922, it was the constitutional organization which took over from the russian empire. at the time of the 1917 revolution, the russian orthodox church was deeply integrated into the autocratic state enjoying official status. this was a significant factor that contributed to the bolshevik attitude to religion and the steps they took to control it. thus the ussr became the first state to have, as an ideological objective, the elimination of religion and its replacement with universal atheism. the communist regime confiscated religious property, ridiculed religion, harassed believers, and propagated atheism in schools. the confiscation of religious assets was often based on accusations of illegal accumulation of wealth. the vast majority of people in the russian empire were, at the time of the revolution, religious believers, whereas the communists aimed to break the power of all religious institutions and eventually replace religious belief with atheism. "science" was counterposed to "religious superstition" in the media and in academic writing. the main religions of pre-revolutionary russia persisted throughout the entire soviet period, but they were only tolerated within certain limits. generally, this meant that believers were free to worship in private and in their respective religious buildings (churches, mosques, etc.), but public displays of religion outside of such designated areas were prohibited. in addition, religious institutions were not allowed to express their views in any type of mass media, and many religious buildings were demolished or used for other purposes. state atheism in the soviet union was known as gosateizm, and was based on the ideology of [[
Religion_in_the_Soviet_Union Soviet_culture