the magnificent eight-century-old temple was constructed by