They had a "monopoly" to the offices of "sesshō" and "kampaku", and served in turn. The political power had shifted away from the court nobility in Kyoto to the new warrior class in the countryside. However, Fujiwara remained close advisers, regents and ministers to the emperors for centuries, the family remained and political reputation and influence even until the 20th century (such as Fumimaro Konoe and Morihiro Hosokawa, who became the Prime Ministers). As such, they had a certain political power and much influence, as often the rival warriors and later bakufu sought their alliance. Oda Nobunaga and his sister Oichi claimed to have descent from the Taira and Fujiwara clans; regent Toyotomi Hideyoshi and shogun Tokugawa Ieyasu were related by marriage to various families from Fujiwara clan. Empress Shōken, wife of Emperor Meiji, was a descendant of the Fujiwara clan.