The plot was exposed and on the orders of the empress and some officials, all of the palace maids involved, including the emperor's favourite concubine (Consort Duan) and another concubine (Consort Ning, née Wang), were ordered to be executed by slow slicing and their families were killed. The Jiajing Emperor later determined that Consort Duan had been innocent, and dictated that their daughter, Luzheng, be raised by Imperial Noble Consort Shen. The Jiajing Emperor was a devoted follower of Taoism and attempted to suppress Buddhism. After the assassination attempt in 1542, the emperor moved out of the imperial palace, and lived with a 13-year-old teenage girl who was small and thin, and was able to satisfy his sexual appetite (Lady Shan). The Jiajing Emperor began to pay excessive attention to his Taoist pursuits while ignoring his imperial duties. He built the three Taoist temples Temple of Sun, Temple of Earth and Temple of Moon and extended the Temple of Heaven by adding the "Earthly Mount". Over the years, the emperor's devotion to Taoism was to become a heavy financial burden for the Ming government and create dissent across the country. Particularly during his later years, the Jiajing Emperor was known for spending a great deal of time on alchemy in hopes of finding medicines to prolong his life. He would forcibly recruit young girls in their early teens and engaged in sexual activities in hopes of empowering himself, along with the consumption of potent elixirs. He employed Taoist priests to collect rare minerals from all over the country to create elixirs, including elixirs containing mercury, which inevitably posed health problems at high doses. After 45 years on the throne (the second longest reign in the Ming dynasty), the Jiajing Emperor died in 1567 – possibly due to mercury overdose from Chinese alchemical elixir poisoning – and was succeeded by his son, the Longqing Emperor. Though his long rule gave the dynasty an era of stability, the Jiajing Emperor's neglect of his official duties resulted in the decline of the dynasty at the end of the 16th century. His style of governance, or the lack thereof, would be emulated by his grandson later in the century. The time when the Jiajing Emperor was buried was very close to the time of completion of the manuscript copy of the lost Yongle Encyclopedia was completed. Jiajing Emperor died in December 1566, but was buried three months later, in March 1567.