It was written around 1220 amid the rising tension between the Imperial Court and the shogunate, just before Jokyu no Ran (the Jokyu Rebellion), but subsequently it was revised.
承久の乱の直前、朝廷と幕府の緊張が高まった時期の承久2年（1220年）ごろ成立したが、乱後に修訂が加えられている。