 Under this code, an emperor and his courtiers were equal.Emperor Xizong of Jin reformed the empire's legal system and abolished the begile during the reform of Tianjuan.The reform eliminated the aboriginal Jurchen conventions and substituted them with the conventions of Song and Liao dynasty.