How did the Japanese imperial court system of appointing government officials lead to the rise of the Fujiwara family? 2-3 sentences

The Japanese imperial court system of appointing government officials allowed the powerful Fujiwara family to secure key positions in the government by marrying their daughters to emperors and members of the royal family. This strategic alliance gave the Fujiwara family unprecedented influence over imperial decisions and policies, eventually leading to their rise as the de facto rulers of Japan during the Heian period.

a bit simplified please

The Japanese imperial court system of appointing government officials allowed the Fujiwara family to gain power by marrying their daughters to emperors and securing key positions in the government. This strategic alliance gave the Fujiwara family significant influence and eventually led to their dominance in Japanese politics during the Heian period.