Toward the end of the ninth century, several emperors tried, but failed, to check the Fujiwara