During the Northern and Southern Court period of Japan in 1336, Takauji ASHIKAGA, who had turned against the Kenmu Restoration started by Emperor Godaigo after the fall of the Kamakura bakufu, defeated Yoshisada NITTA and Masashige KUSUNOKI in the battle of Minatogawa, entered Kyoto, and established his administrative policies in the Kenmu Code.
鎌倉幕府滅亡後に開始された後醍醐天皇の建武の新政から離反した足利尊氏は、南北朝時代(日本)の1336年に湊川の戦いで新田義貞・楠木正成らを破り京都へ入り、施政方針を定めた建武式目を制定する。