Anti-Buddhist sentiments in Imperial China between the 5th and 10th century led to the "Four Buddhist Persecutions in China" of which the "Great Anti-Buddhist Persecution" of 845 was probably the most severe. However Buddhism managed to survive but was greatly weakened. During the Northern Expedition, in 1926 in Guangxi, Kuomintang Muslim General Bai Chongxi led his troops in destroying Buddhist temples and smashing idols, turning the temples into schools and Kuomintang party headquarters. During the Kuomintang Pacification of Qinghai, the Muslim General Ma Bufang and his army wiped out many Tibetan Buddhists in the northeast and eastern Qinghai, and destroyed Tibetan Buddhist temples.