大理
(?
1345年~?
1365年)
段功,段隆之子,段光之弟是,蒙古辖下的第十位大理总管,同时元朝也授他为承务郞、蒙化州知州。1346年,木邦夷思可叛。元朝命河南参政贾敦熙督师讨之,
段功亦出兵参战,作为前锋,屡战克捷,因功封为云南省参政。
1363年,红巾军将领明玉珍及其弟明二率兵三万攻打中庆路,梁王巴匝拉瓦尔密逃奔楚雄,得
段功出兵援助梁王,和明玉珍大战于吕阁关,保住云南不失。后来
段功夜袭古田寺,用火攻将败明玉珍击退,并在七星关击溃明玉珍的兵马,终收复中庆路、夺回昆明。
战后,梁王拜
段功为云南省平章政事,同时将女儿阿盖公主嫁给
段功。但在1365年时,梁王又怀疑
段功有并吞云南全境的野心,因而要女儿阿盖公主将
段功毒杀,但是阿盖公主不忍反将一切告知
段功。但
段功仍被梁王派人刺杀,而阿盖公主也殉情自杀。
后人就在西寺塔旁建祠纪念阿盖公主与
段功,称为阿姑祠。1942年,文人郭沫若根据这段历史改编为话剧孔雀胆。
After the war, King of Liang prayer in Yunnan Pingzhang political affairs section of power, while his daughter married Princess paragraph Agay power. But in 1365, the King of Liang, suspecting the power section has the ambition to annex the whole territory of Yunnan, which will be her daughter Princess paragraph Agay power kill, but Agay Princess could not bear all this section against the power. But the segment power being sent to assassinate King of Liang, but Agay Princess for Love suicide.