덴지 천황
The clan originated when the founder, Nakatomi no Kamatari (614–669) of the Nakatomi clan, was rewarded by Emperor Tenji with the honorific "Fujiwara", which evolved as a surname for Kamatari and his descendants. In time, Fujiwara became known as a clan name.