After Sima Zhao's death in September 265, his son Sima Yan forced the last Wei emperor Cao Huan to abdicate the throne to him in February 266, thus ending Wei's existence and replacing it with the Jin dynasty; Sima Yan himself ascended the throne as Emperor Wu of Jin. Jia Chong, as a loyal subject of the Sima family, continued to be an important figure in the Jin government. Emperor Wu commissioned him to draft the laws of the Jin dynasty, initially considered to be far more merciful than the strict laws under the Wei regime. However, uneven enforcement of these laws meant that the main beneficiaries were nobles. The emperor also enfeoffed Jia Chong as the "Duke of Lu".