Rebellion of Kim Heon-chang
Kim Heon-chang, governor of Ungcheon-ju, rebelled over his father Kim Ju-won’s lost claim to the throne and proclaimed a state named Jangan with the era name Gyeongun.

Ryuch · CC BY-SA 3.0 · Source
When King Seondeok died in 785, Kim Ju-won was chosen king but was pushed aside by Kim Gyeong-sin (Wonseong). In 822 Ju-won’s son Heon-chang rose at Ungcheon-ju (Gongju), and Mujin-ju, Wansan-ju, Cheong-ju, Sabeol-ju and three secondary capitals briefly joined him. When royal troops took his fortress he killed himself.
His son Kim Beom-mun rebelled again in 825. The revolt shows how the true-bone struggle for the throne spread to the provinces in late Silla.