According to "Shoku Nihongi" (Chronicle of Japan Continued), Chogi no rei (ceremonies in the imperial court) was decided in 698, and Shakuten no rei (also referred to as Sekiten no rei; a festival to Confucius and his disciples) was decided in 748.
『続日本紀』によれば、文武天皇2年（698年）に朝儀の礼、天平20年（748年）に釋奠の礼を定めたことが記されている。