, known first as and later as until his accession, was the 38th emperor of Japan who reigned from 668 to 671. He was the son of Emperor Jomei and Empress Kà Âgyoku (Empress Saimei), and his children included Empress Jità Â, Empress Genmei, and Emperor Kà Âbun.
In 645, Tenji and Fujiwara no Kamatari defeated Soga no Emishi and Soga no Iruka. He established a new government and carried out political reforms. He then assumed real political power as the crown prince of both Emperor Kà Âtoku and Empress Saimei. Despite the death of Empress Saimei, he did not accede to the throne for seven years, and came to the throne only after the relocation of the capital to à Âmi in 668. He created Japan's first family register, the Kà Âgo Nenjaku, and the first code of law, the à Âmi Code.
Tenji was the son of Emperor Jomei, but was preceded as ruler by his mother Empress Saimei.
Prior to his accession, he was known as .
As prince, Naka no à Âe played a crucial role in ending the near-total control the Soga clan had over the imperial family. In 644, seeing the Soga continue to gain power, he conspired with Nakatomi no Kamatari and Soga no Kurayamada no Ishikawa no Maro to assassinate Soga no Iruka in what has come to be known as the Isshi Incident. Although the assassination did not go exactly as planned, Iruka was killed, and his father and predecessor, Soga no Emishi, committed suicide soon after. Following the Isshi Incident, Iruka's adherents dispersed largely without a fight, and Naka no à Âe was named heir apparent. He also married the daughter of his ally Soga no Kurayamada, thus ensuring that a significant portion of the Soga clan's power was on his side.
Naka no à Âe reigned as Emperor Tenji from 661 to 672.
Tenji was particularly active in improving the military institutions established during the Taika Reforms.
Following his death in 672, there ensued a succession dispute between his fourteen children (many by different mothers). In the end, he was succeeded by his son, Prince à Âtomo, also known as Emperor Kà Âbun, then by Tenji's brother Prince à Âama, also known as Emperor Tenmu. Almost one hundred years after Tenji's death, the throne passed to his grandson Emperor Kà Ânin.
The actual site of Tenji's grave is known. This emperor is traditionally venerated at a memorial Shinto shrine (misasagi) at Yamashina-ku, Kyoto.
The Imperial Household Agency designates this location as Tenji's mausoleum. It is formally named Yamashina no misasagi.
The Man'yà Âshà « includes poems attributed to emperors and empresses; and according to Donald Keene, evolving Man'yà Âshà « studies have affected the interpretation of even simple narratives like "The Three Hills." The poem was long considered to be about two male hills in a quarrel over a female hill, but scholars now consider that Kagu and Miminashi might be female hills in love with the same male hill, Unebi. This still-unresolved enigma in poetic form is said to have been composed by Emperor Tenji while he was still Crown Prince during the reign of Empress Saimei:
One of his poems was chosen by Fujiwara no Teika as the first in the popular Hyakunin Isshu anthology:
After his death, his wife, Empress Yamato wrote a song of longing about her husband.
The top during Emperor Tenji's reign included:
Prince à Âtomo (à Âtomo-shinnà Â) was the favorite son of Emperor Tenji; and he was also the first to be accorded the title of Daijà Â-daijin.
The years of Tenji's reign are not linked by scholars to any era or nengà Â. The Taika era innovation of naming time periods â nengà  â languished until Mommu reasserted an imperial right by proclaiming the commencement of Taihà  in 701 (aside from the momentary proclamation of the Shuchà  era under Emperor Tenmu in 686).
In this context, Brown and Ishida's translation of Gukanshà  offers an explanation about the years of Empress Jità Â's reign which muddies a sense of easy clarity in the pre-Taiho time-frame:
Empress: Yamato Hime no à Âkimi (Ã¥ÂÂå§«çÂÂ), Prince Furuhito-no-à Âe's daughter (son of Emperor Jomei).
Hin: Soga no Ochi-no-iratsume (èÂÂæÂÂé æÂºå¨Â, d. ), Soga no Kura-no-yamada no Ishikawa-no-maro's daughter
Hin: Soga no Mei-no-iratsume (èÂÂæÂÂ姪å¨Â), Soga no Kura-no-yamada no Ishikawa-no-maro's daughter
Hin: Soga no Hitachi-no-iratsume (èÂÂæÂÂ常é¸å¨Â), Soga no Akae's daughter
Hin: Abe no Tachibana-no-iratsume (é¿é¨æ©Âå¨Â, d. 681), Abe no Kurahashi-maro's daughter
Court lady: Koshi-no-michi no Iratsume (è¶ÂéÂÂä¼Âç¾ é½売)
Court lady (Uneme): Yakako-no-iratsume, a lower court lady from Iga (ä¼Âè³ÂéÂÂ女宠åÂÂå¨Â) (Iga no Uneme)
Court lady: Oshinumi no Shikibuko-no-iratsume (å¿Âæµ·è²夫å¤å¨Â), Oshinumi Zokuryu's daughter
Court lady: Kurikuma no Kurohime-no-iratsume (æ ÂéÂÂé»ÂåªÂå¨Â), Kurikuma Tokuman's daughter
is a Kofun in that is the traditional burial site of Emperor Tenji. Specifically, it is an .
The Imperial Household Agency has limited access by the public out of respect for Emperor Tenji who they claim is buried there.