Task: Text Categorization
Input (English): 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 (English): History