Liu Yin

Liu Yin was an officer of Shu during the Three Kingdoms era. He earned fame during Jiang Wei's campaign north and was tasked with guarding Hanzhong's Huangjinwei. Attacked by a large force from Wei, he was able to guard his castle even though other places and officers were falling to Wei. He continued to resist even after Chengdu fell until he received a missive from Liu Shan, after which he surrendered.