The Han emperor was satisfied with the statement and released the king, but retained his son as hostage. When this particular king of Loulan died, in 92 BCE, his court requested that the Han court release the king's son and heir be returned to Loulan. In the meantime, however, this prince from Loulan had been castrated for infringing Han law, without the knowledge of Loulan. The Han court replied that its Emperor had grown too fond of the prince to release him, and that another son should be enthroned in Loulan. The son of the new king was also sent to the Han court as a hostage, yet another was sent to the Xiongnu. After the death of this king of Loulan, the Xiongnu returned the hostage sent previously by Loulan – a prince named Chang Gui or An Gui (嘗歸 or 安歸), who became king of Loulan. When the Han court heard of this, it demanded that the new king present himself to the Han court. Chang Gui refused, on his wife's advice – because the Han court had previously failed to return hostages.