Li Linfu
By 736, however, Pei was caught in the middle of palace intrigue, with fellow chancellor Li Linfu beginning to gain favor at the expense of Pei and Zhang, who were friendly with each other. At that time, there were several incidents for which the blunt Zhang had offended either Emperor Xuanzong—who was described to have begun to tire of governance and started seeking luxuries in earnest—or Li Linfu, who was described to be ingratiating the emperor: