9th-century buddhist period temple