 As a result, Wang Ling conspired to replace emperor Cao Fang with his uncle Cao Biao.The conspiracy suffered a setback, however, when Linghu Yu died of an illness.The plot was discovered and Sima Yi led an army to Wang before he could prepare himself for a defense.