Answer
Ma Dai, a general under Zhuge Liang, killed Wei Yan for alleged treason. Wei Yan, a former general of Liu Bei, was suspected of plotting against Zhuge Liang and the Shu-Han kingdom. After Wei Yan refused to follow Zhuge Liang's orders, Ma Dai was sent to apprehend him. Wei Yan resisted arrest and was killed in the ensuing battle.