米澤藩
With the Abolition of the han system in 1871, Yonezawa Domain became Yonezawa Prefecture, and in 1872 Uesugi Shrine, honoring the ancestors of the Uesugi clan, was established within the grounds of the castle. All remaining structures were demolished in 1873 and in the second bailey, the present-day Yonezawa city hall was constructed. The main bailey was transformed into a public park in 1874. The Uesugi Shrine was transferred to its present location on top of the site of the donjon in 1876.