 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 which had been established during the Taika Reforms.