As the Soga had taken control of the throne in the sixth century, the Fujiwara by the ninth century had intermarried with the imperial family, and one of their members was the first head of the Emperor's Private Office. While the earliest parts of the Heian period was marked by unusually strong emperors governing themselves (in particular from Emperor Kanmu to Emperor Saga (781-823)), the Fujiwara started to rebuild their influence first under Fujiwara no Fuyutsugu in the first half of the ninth century. Fuyutsugu's son Fujiwara no Yoshifusa was the first person not from the imperial family to become regent for a minor emperor when he gained that position when his grandson was enthroned as Emperor Seiwa in 858. His adopted son, Fujiwara no Mototsune, had himself further appointed "kampaku" (regent for an adult emperor, a newly invented position). After Mototsune's death Emperor Uda (who was not the son of a Fujiwara daughter) managed to regain control of much of government. However, after abdicating in favour of his son, Emperor Daigo (897–930), while apparently intending to control government from retirement, Mototsune's son Fujiwara no Tokihira managed to maneuver himself back to very prominent position until his early death in 909. The remaining period of Daigo's reign was again relatively free from Fujiwara dominance, but from the beginning of the reign of his son Emperor Suzaku, the Fujiwara again re-established their dominance of the court with the leadership of Fujiwara no Tadahira.