In 1851, the Xianfeng Emperor established an office for Prince Gong, gave him permission to enter the inner imperial court, assigned him to be in charge of patrol and defence matters, and ordered him to continue carrying the White Rainbow Sword given to him by their father.