a 10th century temple dedicated to deity