Task: Question Generation
Input (English): As the Soga clan 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. Another Fujiwara became regent, Sesshō for his grandson, then a minor emperor, and yet another was appointed Kampaku. Toward the end of the ninth century, several emperors tried, but failed, to check the Fujiwara. For a time, however, during the reign of Emperor Daigo (897-930), the Fujiwara regency was suspended as he ruled directly.
Output (English): Emperor Daigo ruled during what years?