Taejo of Goryeo
Gyeongsun was placed on the throne by the Hubaekje king Gyeon Hwon after the Hubaekje forces sacked Gyeongju in 927. The kingdom was already in an extremely weakened state, so Gyeongsun reigned over a tiny remnant of the former Silla territory until finally abdicating in favour of Taejo of Goryeo in 935. He remarried Taejo's daughter Princess Nangrang (낙랑공주) and was appointed "sasim-gwan" (사심관, inspector-general) of Gyeongju, becoming the first of Goryeo's "sasim-gwan" system. He lived out the remainder of his life near the Goryeo capital (modern-day Kaesong).