Horyuji was actually built decades after Prince Shotoku's death in 622.
Horuyuji was built decades after Prince Shotoku's death.