The ancient temple was thought to have been built to honor gods.