would persist to the Bakumatsu period and would be an increasing source of dissatisfaction with the lower-ranking samurai. Initially, Yamauchi Kazutoyo made Urato Castle, the old stronghold of the Chōsokabe as his headquarters, but he soon found it too small, so he built Kōchi Castle and laid out a new castle town. Under his successor, Yamauchi Tadayoshi, new rice field development and new industries were promoted, and the clan's finances remained relatively stable until around the middle of the Edo period. The domain was always eager to raise its incomes the expenses involved in its sankin kōtai obligation to visit the Shoun's court in Edo]] alternative years was extremely high due to the domain's geographic location, and the domain was constantly being called upon by the shogunate to provide work for public works projects. However, from around the Horeki era (1751 to 1764) onwards, the clan's administration was shaken by uprisings and peasants fleeing to other territories. The ninth daimyō, Yamauchi Toyochika and the 13th daimyō, Yamauchi Toyoteru attempted reforms based on fiscal frugality with limited success. In the Bakumatsu period, the 15th daimyō, Yamauchi Toyoshige (also known as Yamauchi Yodo) appointed Yoshida Tōyō to undertake major reforms; however, he was assassinated by reactionary followers of Takechi Hanpeita how were against modernization. Subsequently, Yamauchi Toyoshige took action against Takechi's "Tosa Kinnō-tō" party and suppressed the Sonnō Jōi movement in the domain. Initially a strong supporter of the Kōbu gattai movement to join the shogunate with the Imperial House of Japan, he later led the domain into the Satchō Alliance and played a critical role in 1867 in advising Shōgun Tokugawa Yoshinobu to carry out Taisei Hōkan (大政奉還), and to the return of power to the Emperor. In 1868, Tosa Domain was renamed "Kōchi Domain", which after the abolition of the han system in 1871, became Kōchi Prefecture. The Yamauchi clan was elevated to the rank of marquis in the kazoku system by the Peerage Order of 1884. Holdings at the end of the Edo period Unlike most domains in the han system, which consisted of several discontinuous territories calculated to provide the assigned kokudaka, based on periodic cadastral surveys and projected agricultural yields, Tosa Domain was a single unified holding. At the end of the 16th century, the Chōsokabe family's kokudaka of Tosa Province was only 98,000 koku per the Taiko land survey. The Yamauchi clan had an official kokudaka