The small walled temple Hokki-ji near Nara was founded in 638 as last wish of Prince Shotoku to convert his palace into a Buddhist temple. The three-story pagoda built in 706 is widely regarded as one of the finest examples of the architecture of the period and one of the oldest wooden structures in the world.