 Prince Gong's Mansion was constructed in 1777 during the Qing dynasty for Heshen, a prominent court official in the reign of the Qianlong Emperor infamous for being the most corrupt official in Chinese history.From a young age, Heshen earned the favor of the Qianlong Emperor and rose swiftly through the ranks in the imperial administration to become one of the top and wealthiest officials in the imperial court.In 1799, the Jiaqing Emperor, successor to the Qianlong Emperor, accused Heshen of corruption and had him executed and his property confiscated.