In the early 840s, a massive campaign of temple closures began. It was brutal, sweeping and destructive. The government’s persecution of the Buddhists between 842 and 846 came at time of growing internal and external threats, when marauding private armies threatened the Yellow River heartland and pirate fleets plundered the coasts.