After there were three agreements settled such as passing the three sacred treasures from the Southern Court to the Northern Court, a governorship that was to belong to the Daikakuji Imperial line and the Chokodo possessions were to belong to the Jimyoin Imperial line, and Imperial succession would be shared by both Courts, (Emperor Gokameyama's son, Oguranomiya Imperial Prince Sanehito was going to become Crown Prince) in 1392 Emperor Gokameyama went to Kyoto to see Emperor Gokomatsu at the Daikaku-ji Temple, and to pass the three sacred treasures, there was the unity of the Southern and Northern Courts, although Imperial succession was succeeded by the Northern Court this time, not by the Southern Court.
南朝から北朝への神器の引渡し、国衙領を大覚寺統、長講堂領を持明院統の領地とする事、皇位は両統迭立とする（後亀山天皇の子である小倉宮実仁親王の立太子）事など3か条を条件に和睦が成立し、1392年（明徳3年/元中9年）に後亀山天皇は京都へ赴いて、大覚寺にて後小松天皇と会見して神器を譲渡し、南朝が解消される形で南北朝合一は成立した。