Marsha Weidner states that Deshin Shekpa's miracles "testified to the power of both the emperor and his guru and served as a legitimizing tool for the emperor's problematic succession to the throne," referring to the Yongle Emperor's conflict with the previous Jianwen Emperor. Tsai writes that Deshin Shekpa aided the legitimacy of the Yongle Emperor's rule by providing him with portents and omens which demonstrated Heaven's favor of the Yongle Emperor on the Ming throne.

Who did the Yongle Emperor have a conflict with?