 Prime Minister Yi Yin advised him to change his ways but the headstrong king ignored the advice of the elder statesman.Eventually Yi Yin had no other choice but to exile the king to the Tong Palace (), in present-day Southwest Yanshi county, Henan province near the tomb of the first Shang king Tang, to repent.Sima Qian says that following the exile Yi Yin ruled the country as regent for three years until he felt that the king had sufficiently changed and invited him back to the capital to reclaim his throne.