The emperor's act of devotion worked, and his consort not only survived, but went on to succeed him as Empress Jitō (持統天皇 645-703).
Yakushi-ji originally stood beneath Mt. Miminashi in Kashihara (耳成山)/橿原), site of the then capital, Fujiwara-kyō (藤原京 694-710).