Question: The members of what clan gradually replaced the Fujiwaras?
Sentence: While the Fujiwara fell into disputes among themselves and formed northern and southern factions, the insei system allowed the paternal line of the imperial family to gain influence over the throne.
Answer in sentence: no