Princess Taiping supported saving the Tang dynasty and the Li family. After the death of Empress Wu Zetian in 705, Princess Taiping joined with her nephew Li Longji (later Emperor Xuanzong) to get power for the Tang dynasty again. In 710, she and Li Longji stopped Empress Wei's plan to gain power.