put this in different words

The founder of the Fujiwara clan, Nakatomi, became an important ally of prince Naka no Oe in 645 CE. Together, they staged a successful coup that ousted the Soga clan that had dominated the highest positions in government. The prince later became emperor Tenji and launched a series of reforms. He also made Nakatomi, whom he gave the name of Fujiwara, a special minister.The descendants of Fujiwara managed to secure important positions in successive imperial courts and to marry their daughters with emperors in order to guarantee clan continued influence. Fujiwara regents exercised power on behalf of child or tenaage emperors for a long period. The Fujiwara clan dominated Japanese politics for around 4 centuries.

The founder of the Fujiwara clan, Nakatomi, formed a strong alliance with Prince Naka no Oe in 645 CE and successfully overthrew the Soga clan from power. Prince Naka no Oe later became Emperor Tenji and implemented reforms, appointing Nakatomi as a special minister under the new name Fujiwara. The Fujiwara descendants strategically married their daughters to emperors to maintain influence, and Fujiwara regents controlled the government on behalf of child emperors for many years. The Fujiwara clan held significant power in Japanese politics for approximately 400 years.