Article snapshot taken from Wikipedia with creative commons attribution-sharealike license.
Give it a read and then ask your questions in the chat.
We can research this topic together.
The official history of the temple wrote that this temple was established in the Tenpyo-Shoho years from 749 to 757 by a famous Japanese monk Gyōki (行基), however, the origin of this temple is unclear. Today, as a result of fires through many centuries, this temple has only one main hall built in the Muromachi Period in 1371.