In this task you will be given a text passage from a trivia quiz. You should choose the category this question belongs to from these categories: History, Science, Social Science, Fine Arts, Literature. You can only choose one category, so if in doubt, please choose the closest match.
Q: This government legalized a system of alternate attendance among feudal lords, where they were required to spend one year within their domains and one in the capital. One challenge to it came from disgruntled ronin lead by Yui Shotetsu, who attempted a coup called the Keian Uprising. Its downfall came during the Bakamatsu, during which popular sentiment called for expelling the barbarians, leading to the Boshin War and resignation of Yoshinobu. It was founded after its namesakes victory over Ishida Mitsunari at Sekigahara, and it also signed of the Treaty of Kanagawa with Matthew Perry. Immediately followed by the Meiji restoration, FTP, name this Shogunate, founded by Ieyasu, that ruled Japan from 1600 to 1868.
A:
History