why do the Buddhism still flourish in China?

In 446 AD, the Buddhist Persecution was beginning in China. In a campaign to suppress an uprising in the Changan area, weapons and women were discovered in Buddhist temples, resulting in emperor believing that the Buddhists were against him. The emperor ordered that Buddhism be abolished under penalty of death. The emperor ordered that all monks should be killed and Buddhist scriptures and statues be destroyed.

Then, In 577 AD, Second Buddhist Persecution was beginning in China. Emperor Zhou Wudi of Northern Zhou banned Buddhism. He eliminated the Buddhist faith on the grounds that the religion exhausted the wealth of the people, harmful to the people and was immoral to follow. The emperor believed that the two religions had both become wealthy and powerful. With this belief, all the monasteries and stupas were destroyed and all Buddhist scriptures were burned.

Then, In 712 AD, Third Buddhist Persecution was beginning in China. At that time, the Emperor Xuanzong of the Tang Dynasty ascended the throne.
He restrained Buddhist activities in various ways such as prohibiting the copying of Buddhist scriptures, making Buddha statues and building monasteries. He ordered twenty thousand Buddhist clergy to return to lay life.

Then, In 843, Forth Buddhist Persecution was beginning in China. At that time, there was the conflict with Uyghur tribe. Emperor Wuzong’s solution to the nation’s economic problem was to acquire the wealth gained by Buddhist monasteries. That's why, one of the largest Anti-Buddhist Persecutions was in 845 and was initiated by Taoist Emperor Wuzong of the Tang Dynasty. The employee closed many Buddhist shrines and confiscated their land. He was infamous for his prejudice against Buddhists. During his campaign, he destroyed Buddhist temples and forced monks and nuns to return to tax-paying commoners.

In the initial years of Chinese Communist rule, all religious activities were stopped. Monasteries were closed and most of the monks and nuns were forced to disrobe and work in the communes. Though there is a Chinese Buddhist Association still existed in Beijing, it was more of a show to the outside world. Then came the Chinese Cultural Revolution (1966-1976) which destroyed most of the religious statues and artifacts except those temples protected by the State. This is the modern Buddhist Persecution in China.

But, why do the Buddhism still flourish in China although the many Buddhist Persecution?