 Other duties were more tied to state administration, such as drafting edicts, and advising the Emperor on various policies and problems.Its proximity to the Emperor and inner court, secrecy and unofficial status allowed it to expand and sustained its central role in state administration, and also freed it from some of the constraints of many of the outer-court agencies.In 1796, the Qianlong Emperor abdicated in favor of his son, the Jiaqing Emperor.