Li Yi
In 846, Emperor Wuzong, afflicted by illnesses caused by alchemists' pills, became seriously ill. The eunuchs secretly decided that Emperor Wuzong's uncle Li Yi the Prince of Guang should be made crown prince, and they issued an edict in his name to such effect. Emperor Wuzong soon died, and Li Yi (whose name was changed to Li Chen) took the throne (as Emperor Xuānzong).