I want to know the answer to the following question:
The members of what clan gradually replaced the Fujiwaras?
All the background I'm provided with is that "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.". Is that enough to answer the question?
Answer: no