Kogi became the general term for official authority in the period of governmental instability in towards the end of the Toyotomi administration, and in the Edo Period, Kogi started to indicate the Edo bakufu which was the only unified authority that mediated the power struggles among the feudal lords.
豊臣政権末期の政情不安定期に公権力を漠然と公儀と呼ぶ慣習が生まれ、江戸時代に入ると統一政権で諸領主権力間の唯一の利害調整機関となった江戸幕府を指して公儀と呼ばれるようになった。