Beginning in the Nara period, painting, calligraphy, and sculpture flourished under strong Confucian and Buddhist influences from China. Among the architectural achievements of this period are the Hōryū-ji and the Yakushi-ji, two Buddhist temples in Nara Prefecture. After the cessation of official relations with the Tang dynasty in the ninth century, Japanese art and architecture gradually became less influenced by China. Extravagant art and clothing was commissioned by nobles to decorate their court, and although the aristocracy was quite limited in size and power, many of these pieces are still extant. After the Tōdai-ji was attacked and burned during the Genpei War, a special office of restoration was founded, and the Tōdai-ji became an important artistic center. The leading masters of the time were Unkei and Kaikei.