It was a conscious decision taken by those is power at the time. I assume they came to the conclusion that they no longer needed religion as a tool to control the masses, probably due to advances in state controlled media propaganda. It also gave them total control of government policy, with no need to consult with the church hierarchy.