After demolition of the shogunate, Godaigo carried out the Kenmu Restoration in Kyoto, but he moved to Yoshino in the period of the Northern and Southern Courts (Japan) and established Yoshino Imperial Court (Southern Court) by setting up a palace and administrative organs.
後醍醐は幕府滅亡後に京都で建武の新政を開くが、南北朝時代(日本)には吉野へ移り、皇居や行政機関を置いて吉野朝廷（南朝）が成立。