 Later there followed an array of official appointments.When the Yuan Dynasty 元 was officially founded in 1271, Shang was appointed Assistant Administrator in the Secretariat.In later life he was implicated in a wrongful death case and was imprisoned twice.