In 836, when King Heungdeok died, a race for successor among the royal family members occurred in Kyongju (Gyeongju City), the capital of Silla; King Sinmu who lost entrusted himself with Bogo JANG.
836年に興徳王が死去すると、新羅の都・金城（慶州市）では王族間の後継争いが起こり、一旦は敗れた神武王が張保皐のもとに身を寄せてきた。