You will be given a definition of a task first, then some input of the task.
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.

Under this government, the dismissal of the Confucian advisor Arai Hakuseki prompted the transformation of rice markets into security exchanges with the appointment of nengyoji. Price controls were lifted under Mizuno Tadakuni's Tenpo Reforms, and the beginning of this polity saw the passage of the sakoku, or exclusion edict. This government set up an system of alternating attendance among feudal lords, and was brought down by a movement that sought to "revere the emperor and expel the barbarians". The Sakuradamon Incident saw the assassination of Ii Naosuke for his signing of the Treaty of Amity and Commerce, an extension of the Convention of Kanagawa pushed forward by Matthew Perry. For 10 points, name this Japanese government that existed before the Meiji Restoration.
Output:
History