Upon entering the Epang Palace in Xianyang (the Qin capital), Liu Bang was strongly tempted by the riches it housed and wanted to stay there forever. Zhang Liang reminded Liu Bang about overindulgence in sensual pleasures and Liu ordered his men to seal the treasures and move to Bashang to wait for Xiang Yu and the other rebel forces to arrive. During this period of time, Liu Bang heeded Zhang Liang's advice and governed Guanzhong with benevolence, restoring peace and stability, and forbidding his men from pillaging the cities and harming the common people.