 In 215, Zhang Lu submitted to Cao Cao, the ruler of the Wei Kingdom, surrendering his state in exchange for gaining state religion status for Tianshi Daoism.Zhang was given a title and land, as were several other family members and generals.His daughter was married to Cao Cao’s son, Cao Yu.