▁Tok ug awa ▁sh og un ate , ▁the ▁Tok ug awa ▁recovered ▁their ▁lost ▁territ ories , ▁and ▁re ass igned ▁T ō t ō mi ▁to ▁various ▁f ud ai ▁da im y ō . ▁The ▁Yam au chi ▁cl an ▁was ▁re ass igned ▁to ▁K ō chi ▁in ▁Sh ik oku , ▁and ▁K ak eg awa ▁was ▁assigned ▁initially ▁to ▁His am ats u ▁Sad ak ats u . ▁Over ▁the ▁years , ▁numerous ▁da im y ō ▁cl ans ▁ruled ▁K ak eg awa ▁Domain , ▁ending ▁with ▁seven ▁gener ations ▁of ▁the ▁ Ō ta ▁cl an . ▁ ▁The ▁keep ▁built ▁by ▁the ▁Yam au chi ▁was ▁destroyed ▁in ▁an ▁earth qu ake ▁in ▁ 1 6 0 4 , ▁and ▁re construct ed ▁in ▁ 1 6 2 1 . ▁ ▁The ▁castle ▁was ▁kept ▁in ▁repair ▁through ▁the ▁Bak um ats u ▁period , ▁however ▁it ▁suffered ▁from ▁extensive ▁damage ▁in ▁ 1 8 5 4 , ▁due ▁to ▁the ▁An se i ▁T ō ka i ▁earth qu ake . ▁Many ▁structures ▁were ▁re built ▁by ▁ 1 8 6 1 , ▁and ▁were ▁in ▁use ▁after ▁the ▁Me iji ▁Rest oration ▁as ▁local ▁government ▁offices ; ▁however , ▁the ▁keep ▁was ▁not ▁re built ▁after ▁the ▁earth qu ake . ▁ ▁Today ▁K ak eg awa ▁Castle ▁remained ▁in ▁ru ins ▁through ▁the ▁Sh ō wa ▁period , ▁with ▁the ▁exception ▁of ▁the ▁ ▁( da im y ō s ▁m