The fifth regent Tokiyori HOJO got through this crisis by exiling the fifth Shogun Yoritsugu and setting up the Imperial Prince Munetaka as the sixth Shogun (Miyashogun (shogun from the Imperial Court)).
5代執権北条時頼は5代将軍頼嗣を追放し、宗尊親王を6代将軍に迎える事でこの危機を乗り切った（宮将軍）。