The Fujiwara dominated the Japanese politics of Heian period (794–1185) through the monopoly of regent positions, S"esshō" and K"ampaku". The family's primary strategy for central influence was through the marrying of Fujiwara daughters to emperors. Through this, the Fujiwara would gain influence over the next emperor who would, according to family tradition of that time, be raised in the household of his mother's side and owe loyalty to his grandfather. As abdicated emperors took over power by exercising "insei" (, cloistered rule) at the end of the 11th century, then followed by the rise of the warrior class, the Fujiwara gradually lost its control over mainstream politics.