The Fujiwara family controlled the political scene of the Heian period over several centuries through strategic intermarriages with the imperial family and by occupying all the important political offices in Kyoto and the major provinces. The power of the clan reached its peak with Fujiwara Michinaga in the year 1016.