제갈탄
After Cao Rui's death in 239, Cao Fang became the new Wei emperor. He restored Zhuge Dan as Palace Assistant Imperial Secretary and Master of Writing, and subsequently promoted him to Inspector () of Yang Province and General of Illustrious Martial Might ().