Sculpture in Japan began with the clay figure. Towards the end of the long Neolithic Jōmon period, "flame-rimmed" pottery vessels had sculptural extensions to the rim, and very stylized pottery dogū figures were produced, many with the characteristic "snow-goggle" eyes. During the Kofun period of the 3rd to 6th century CE, haniwa terracotta figures of humans and animals in a simplistic style were erected outside important tombs. The arrival of Buddhism in the 6th century brought with it sophisticated traditions in sculpture, Chinese styles mediated via Korea. The 7th-century Hōryū-ji and its contents have survived more intact than any East Asian Buddhist temple of its date, with works including a Shaka Trinity of 623 in bronze, showing the historical Buddha flanked by two bodhisattvas and also the Guardian Kings of the Four Directions.